#D01F38

Closest named color: Cherry (#CF0234). oklch(55.3% 0.207 21.3), rgb(208, 31, 56).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.207)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.93:1
White text5.33:1

Values

HEX#D01F38
RGBrgb(208, 31, 56)
HSLhsl(352, 74%, 47%)
OKLCHoklch(55.3% 0.207 21.3)

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 #D01F38 5.33:1 AA Lc -80.0 Fine for body text
Black text on #D01F38 3.93:1 AA large text Lc 29.5 Dividers and decoration only
#D01F38 text on white 5.33:1 AA Lc 74.6 Content text, not long reading
#D01F38 text on black 3.93:1 AA large text Lc -27.1 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

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FACCCA

    oklch(88.4% 0.052 21.1)

  4. Step 300

    300

    #F7A9A6

    oklch(80.9% 0.093 21.8)

  5. Step 400

    400

    #EF7677

    oklch(70.6% 0.15 21.1)

  6. Step 500

    500

    #E64B54

    oklch(63.1% 0.191 21.3)

  7. Step 600

    600 (this color)

    #D01F38

    oklch(55.3% 0.207 21.3)

  8. Step 700

    700

    #B40C2B

    oklch(49% 0.192 21.4)

  9. Step 800

    800

    #921325

    oklch(42.6% 0.159 21.2)

  10. Step 900

    900

    #761B22

    oklch(37.7% 0.125 21.6)

  11. Step 950

    950

    #451215

    oklch(26.9% 0.078 20.8)

Export this scale for Tailwind in the Tailwind colors tool

#D01F38 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)#5A53370.229
Deuteranopia (no green cones)#8578320.208
Tritanopia (no blue cones)#E5002B0.041
Achromatopsia (no color)#6B6B6B0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #D01F38

    #D01F38

    oklch(55.3% 0.207 21.3)

  • #008289

    #008289

    oklch(55.2% 0.094 201.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D01F38

    #D01F38

    oklch(55.3% 0.207 21.3)

  • #C42480

    #C42480

    oklch(55.4% 0.208 351.6)

  • #B25400

    #B25400

    oklch(55.4% 0.144 51.1)

Open the analogous palette in the generator

Split complementary

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

  • #D01F38

    #D01F38

    oklch(55.3% 0.207 21.3)

  • #00866A

    #00866A

    oklch(55.2% 0.108 171.3)

  • #007DA8

    #007DA8

    oklch(55.3% 0.112 231.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D01F38

    #D01F38

    oklch(55.3% 0.207 21.3)

  • #1A8B00

    #1A8B00

    oklch(55.5% 0.184 141.3)

  • #2268E9

    #2268E9

    oklch(55.4% 0.207 261.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D01F38

    #D01F38

    oklch(55.3% 0.207 21.3)

  • #767800

    #767800

    oklch(55.3% 0.121 110.9)

  • #008289

    #008289

    oklch(55.2% 0.094 201.4)

  • #7950DF

    #7950DF

    oklch(55.4% 0.207 291.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #D01F38 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.