#DF271C

Closest named color: Tomato Red (#EC2D01). oklch(58.2% 0.218 29.3), rgb(223, 39, 28).

Aa

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

About this color

#DF271C is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.218 and its hue 29°. 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.218)
Temperaturewarm
Nearest nameTomato Red (#EC2D01)
Black text4.44:1
White text4.72:1

Values

HEX#DF271C
RGBrgb(223, 39, 28)
HSLhsl(3, 78%, 49%)
OKLCHoklch(58.2% 0.218 29.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 #DF271C 4.72:1 AA Lc -76.3 Fine for body text
Black text on #DF271C 4.44:1 AA large text Lc 33.2 Non-text elements, placeholder text
#DF271C text on white 4.72:1 AA Lc 70.8 Content text, not long reading
#DF271C 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

    #FBCCC5

    oklch(88.4% 0.054 28.1)

  4. Step 300

    300

    #FAA99C

    oklch(81% 0.098 29.4)

  5. Step 400

    400

    #F37565

    oklch(70.7% 0.158 29)

  6. Step 500

    500

    #EA4839

    oklch(63.1% 0.201 29.2)

  7. Step 600

    600 (this color)

    #DF271C

    oklch(58.2% 0.218 29.3)

  8. Step 700

    700

    #B80000

    oklch(49.1% 0.202 29.2)

  9. Step 800

    800

    #960C07

    oklch(42.8% 0.169 29.2)

  10. Step 900

    900

    #781911

    oklch(37.7% 0.131 29.5)

  11. Step 950

    950

    #47110C

    oklch(27% 0.083 29)

Export this scale for Tailwind in the Tailwind colors tool

#DF271C 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)#655A170.237
Deuteranopia (no green cones)#92810B0.212
Tritanopia (no blue cones)#F600280.046
Achromatopsia (no color)#7373730.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF271C

    #DF271C

    oklch(58.2% 0.218 29.3)

  • #008B9B

    #008B9B

    oklch(58.3% 0.1 209)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF271C

    #DF271C

    oklch(58.2% 0.218 29.3)

  • #D72377

    #D72377

    oklch(58.2% 0.218 359.5)

  • #B56300

    #B56300

    oklch(58.3% 0.138 59.2)

Open the analogous palette in the generator

Split complementary

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

  • #DF271C

    #DF271C

    oklch(58.2% 0.218 29.3)

  • #008F7C

    #008F7C

    oklch(58.2% 0.106 179)

  • #0084C0

    #0084C0

    oklch(58.3% 0.131 239)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF271C

    #DF271C

    oklch(58.2% 0.218 29.3)

  • #009440

    #009440

    oklch(58.2% 0.163 149.3)

  • #4A69FA

    #4A69FA

    oklch(58.3% 0.218 269.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF271C

    #DF271C

    oklch(58.2% 0.218 29.3)

  • #728600

    #728600

    oklch(58.3% 0.138 119.6)

  • #008B9B

    #008B9B

    oklch(58.3% 0.1 209)

  • #904FE7

    #904FE7

    oklch(58.2% 0.219 299.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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