Skip to content

Cream, navy and coral

Start with navy text on cream and black on coral. A coral heading on cream is a different pair and may fail normal-text contrast.

Colors and palette cases

Editorial example reviewed September 13, 2026. Numeric results below are calculated from these values.

Nearest reference name

Ivory

RGB 255, 247, 237

Explore color

Nearest reference name

Midnight

RGB 23, 37, 84

Explore color

Nearest reference name

Coral

RGB 255, 127, 80

Explore color

Nearest reference name

Black

RGB 0, 0, 0

Explore color

Assign roles and check the pair

The lightest and darkest supplied values are the starting reading pair. The accent label adds black or white, whichever has greater contrast. You can change the accent below.

A palette in context

Use this preview to inspect reading text and an accent label.

Example action

Reading text #000000 on #FFF7ED: 19.779:1 - Pass normal text AA.

Accent label #000000 on #FFF7ED: 19.779:1.

Checks use unrounded ratios and opaque sRGB. The example action is a visual sample. Test boundaries, focus and hover in your actual component.

All color pairs: normal text AA
Rows are text; columns are backgrounds. Each cell gives the ratio and AA result.
Text / background#FFF7ED#172554#FF7F50#000000
#FFF7ED1.00:1 Fail13.84:1 Pass2.35:1 Fail19.78:1 Pass
#17255413.84:1 Pass1.00:1 Fail5.88:1 Pass1.43:1 Fail
#FF7F502.35:1 Fail5.88:1 Pass1.00:1 Fail8.40:1 Pass
#00000019.78:1 Pass1.43:1 Fail8.40:1 Pass1.00:1 Fail
:root {
  --surface: #FFF7ED;
  --text: #000000;
  --accent: #FFF7ED;
  --on-accent: #000000;
}

Keep the scope of each result clear

All comparisons use opaque sRGB and WCAG relative luminance. Normal-text AA requires 4.5:1; a displayed rounded ratio never overrides the unrounded pass or fail. A palette is not a complete accessibility audit.

W3C contrast requirements ? Methods and limitations ? Turn values into semantic tokens