#DF1F27

Closest named color: Crimson (#DC143C). oklch(57.9% 0.221 26.4), rgb(223, 31, 39).

Aa

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

About this color

#DF1F27 is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.221 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.026 away. White text reads best on it, at 4.81:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.221)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.36:1
White text4.81:1

Values

HEX#DF1F27
RGBrgb(223, 31, 39)
HSLhsl(357, 76%, 50%)
OKLCHoklch(57.9% 0.221 26.4)

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 #DF1F27 4.81:1 AA Lc -76.7 Fine for body text
Black text on #DF1F27 4.36:1 AA large text Lc 32.8 Non-text elements, placeholder text
#DF1F27 text on white 4.81:1 AA Lc 71.3 Content text, not long reading
#DF1F27 text on black 4.36:1 AA large text Lc -30.4 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC6

    oklch(88.5% 0.055 26.5)

  4. Step 300

    300

    #FBA89F

    oklch(81% 0.1 26.3)

  5. Step 400

    400

    #F4746A

    oklch(70.8% 0.159 26.4)

  6. Step 500

    500

    #EB4541

    oklch(63.1% 0.203 26.3)

  7. Step 600

    600 (this color)

    #DF1F27

    oklch(57.9% 0.221 26.4)

  8. Step 700

    700

    #B70015

    oklch(49% 0.2 26.4)

  9. Step 800

    800

    #970612

    oklch(42.8% 0.171 26.4)

  10. Step 900

    900

    #791717

    oklch(37.8% 0.133 26.3)

  11. Step 950

    950

    #47100E

    oklch(26.9% 0.084 26.6)

Export this scale for Tailwind in the Tailwind colors tool

#DF1F27 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)#6258240.243
Deuteranopia (no green cones)#90801C0.219
Tritanopia (no blue cones)#F600260.044
Achromatopsia (no color)#7272720.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF1F27

    #DF1F27

    oklch(57.9% 0.221 26.4)

  • #008A97

    #008A97

    oklch(57.9% 0.099 206.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF1F27

    #DF1F27

    oklch(57.9% 0.221 26.4)

  • #D51F7D

    #D51F7D

    oklch(57.9% 0.221 356.5)

  • #B75F00

    #B75F00

    oklch(57.9% 0.142 55.9)

Open the analogous palette in the generator

Split complementary

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

  • #DF1F27

    #DF1F27

    oklch(57.9% 0.221 26.4)

  • #008E78

    #008E78

    oklch(57.8% 0.108 176.6)

  • #0084BA

    #0084BA

    oklch(58% 0.125 236.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF1F27

    #DF1F27

    oklch(57.9% 0.221 26.4)

  • #009430

    #009430

    oklch(58% 0.176 146.3)

  • #3D6AFA

    #3D6AFA

    oklch(57.9% 0.22 266.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF1F27

    #DF1F27

    oklch(57.9% 0.221 26.4)

  • #768300

    #768300

    oklch(57.9% 0.133 116.5)

  • #008A97

    #008A97

    oklch(57.9% 0.099 206.4)

  • #8B4FEA

    #8B4FEA

    oklch(57.9% 0.221 296.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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