#DF2717

Closest named color: Tomato Red (#EC2D01). oklch(58.2% 0.219 30), rgb(223, 39, 23).

Aa

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

About this color

#DF2717 is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.219 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Tomato Red (#EC2D01), ΔE 0.030 away. White text reads best on it, at 4.72:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.219)
Temperaturewarm
Nearest nameTomato Red (#EC2D01)
Black text4.44:1
White text4.72:1

Values

HEX#DF2717
RGBrgb(223, 39, 23)
HSLhsl(5, 81%, 48%)
OKLCHoklch(58.2% 0.219 30)

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 #DF2717 4.72:1 AA Lc -76.3 Fine for body text
Black text on #DF2717 4.44:1 AA large text Lc 33.2 Non-text elements, placeholder text
#DF2717 text on white 4.72:1 AA Lc 70.9 Content text, not long reading
#DF2717 text on black 4.44:1 AA large text Lc -30.8 Non-text elements, placeholder text

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

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FCE3DF

    oklch(93.5% 0.028 28.5)

  3. Step 200

    200

    #FBCCC4

    oklch(88.4% 0.055 29.4)

  4. Step 300

    300

    #FAA99B

    oklch(81% 0.098 30.2)

  5. Step 400

    400

    #F37663

    oklch(70.8% 0.158 30.3)

  6. Step 500

    500

    #EA4836

    oklch(63.1% 0.202 30)

  7. Step 600

    600 (this color)

    #DF2717

    oklch(58.2% 0.219 30)

  8. Step 700

    700

    #B60B00

    oklch(49.1% 0.197 30)

  9. Step 800

    800

    #960D03

    oklch(42.8% 0.168 30)

  10. Step 900

    900

    #78190F

    oklch(37.7% 0.131 30.2)

  11. Step 950

    950

    #47110B

    oklch(27% 0.084 29.8)

Export this scale for Tailwind in the Tailwind colors tool

#DF2717 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)#665A100.236
Deuteranopia (no green cones)#9281010.212
Tritanopia (no blue cones)#F600270.047
Achromatopsia (no color)#7373730.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF2717

    #DF2717

    oklch(58.2% 0.219 30)

  • #008B9C

    #008B9C

    oklch(58.3% 0.101 209.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF2717

    #DF2717

    oklch(58.2% 0.219 30)

  • #D72276

    #D72276

    oklch(58.2% 0.218 359.8)

  • #B46400

    #B46400

    oklch(58.3% 0.136 60.2)

Open the analogous palette in the generator

Split complementary

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

  • #DF2717

    #DF2717

    oklch(58.2% 0.219 30)

  • #008F7D

    #008F7D

    oklch(58.2% 0.106 179.7)

  • #0083C1

    #0083C1

    oklch(58.2% 0.133 240)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF2717

    #DF2717

    oklch(58.2% 0.219 30)

  • #009443

    #009443

    oklch(58.3% 0.16 150)

  • #4C68FA

    #4C68FA

    oklch(58.2% 0.219 269.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF2717

    #DF2717

    oklch(58.2% 0.219 30)

  • #718600

    #718600

    oklch(58.2% 0.138 120.1)

  • #008B9C

    #008B9C

    oklch(58.3% 0.101 209.8)

  • #924EE6

    #924EE6

    oklch(58.2% 0.219 300.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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