#D1023F

Closest named color: Cherry (#CF0234). oklch(54.6% 0.218 17.2), rgb(209, 2, 63).

Aa

White text reads best on this color (5.53:1).

About this color

#D1023F is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.218 and its hue 17°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.013 away. White text reads best on it, at 5.53:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.218)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.79:1
White text5.53:1

Values

HEX#D1023F
RGBrgb(209, 2, 63)
HSLhsl(342, 98%, 41%)
OKLCHoklch(54.6% 0.218 17.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #D1023F 5.53:1 AA Lc -80.4 Fine for body text
Black text on #D1023F 3.79:1 AA large text Lc 29.1 Dividers and decoration only
#D1023F text on white 5.53:1 AA Lc 75.0 Content text, not long reading
#D1023F text on black 3.79:1 AA large text Lc -26.7 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FBCBCC

    oklch(88.4% 0.055 16.8)

  4. Step 300

    300

    #F9A7AA

    oklch(80.9% 0.097 17)

  5. Step 400

    400

    #F2737C

    oklch(70.7% 0.156 17.6)

  6. Step 500

    500

    #E9445C

    oklch(63.1% 0.2 17)

  7. Step 600

    600 (this color)

    #D1023F

    oklch(54.6% 0.218 17.2)

  8. Step 700

    700

    #B50035

    oklch(49% 0.196 17.2)

  9. Step 800

    800

    #95052B

    oklch(42.7% 0.168 17.3)

  10. Step 900

    900

    #781627

    oklch(37.8% 0.131 17.2)

  11. Step 950

    950

    #471017

    oklch(27.1% 0.083 17.5)

Export this scale for Tailwind in the Tailwind colors tool

#D1023F with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#534F3F0.246
Deuteranopia (no green cones)#8276390.222
Tritanopia (no blue cones)#E600250.051
Achromatopsia (no color)#6868680.220

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #D1023F

    #D1023F

    oklch(54.6% 0.218 17.2)

  • #008183

    #008183

    oklch(54.7% 0.093 196.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1023F

    #D1023F

    oklch(54.6% 0.218 17.2)

  • #C11888

    #C11888

    oklch(54.5% 0.218 347.1)

  • #B44E00

    #B44E00

    oklch(54.7% 0.151 47.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #D1023F

    #D1023F

    oklch(54.6% 0.218 17.2)

  • #008563

    #008563

    oklch(54.7% 0.112 167.2)

  • #007CA0

    #007CA0

    oklch(54.7% 0.106 227)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1023F

    #D1023F

    oklch(54.6% 0.218 17.2)

  • #398500

    #398500

    oklch(54.6% 0.166 137.2)

  • #006BDF

    #006BDF

    oklch(54.7% 0.195 257.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1023F

    #D1023F

    oklch(54.6% 0.218 17.2)

  • #797400

    #797400

    oklch(54.6% 0.117 106.7)

  • #008183

    #008183

    oklch(54.7% 0.093 196.7)

  • #6F4DE5

    #6F4DE5

    oklch(54.6% 0.218 287.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D1023F, closest first.

No curated palette has a color within ΔE 0.04 of #D1023F.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #D1023F in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.