#DF2F7E

Closest named color: Cerise (#DE0C62). oklch(60.6% 0.217 359.4), rgb(223, 47, 126).

Aa

Black text reads best on this color (4.84:1).

About this color

#DF2F7E is a medium-dark, vivid red. In OKLCH its lightness is 61%, its chroma 0.217 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Cerise (#DE0C62), ΔE 0.042 away. Black text reads best on it, at 4.84:1.

Hue familyReds
Lightnessmedium-dark (61%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameCerise (#DE0C62)
Black text4.84:1
White text4.33:1

Values

HEX#DF2F7E
RGBrgb(223, 47, 126)
HSLhsl(333, 73%, 53%)
OKLCHoklch(60.6% 0.217 359.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 #DF2F7E 4.33:1 AA large text Lc -73.9 Content text, not long reading
Black text on #DF2F7E 4.84:1 AA Lc 35.7 Non-text elements, placeholder text
#DF2F7E text on white 4.33:1 AA large text Lc 68.4 Content text, not long reading
#DF2F7E text on black 4.84:1 AA Lc -33.2 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 500.

  1. Step 50

    50

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FCE2E9

    oklch(93.6% 0.03 359.5)

  3. Step 200

    200

    #FBCAD8

    oklch(88.6% 0.058 359.4)

  4. Step 300

    300

    #F9A4BE

    oklch(80.9% 0.105 359.8)

  5. Step 400

    400

    #F26D9D

    oklch(70.8% 0.17 359.7)

  6. Step 500

    500 (this color)

    #DF2F7E

    oklch(60.6% 0.217 359.4)

  7. Step 600

    600

    #D0006F

    oklch(55.6% 0.226 359.5)

  8. Step 700

    700

    #B0005D

    oklch(49.1% 0.199 359.5)

  9. Step 800

    800

    #92004C

    oklch(42.8% 0.174 359.6)

  10. Step 900

    900

    #770E3F

    oklch(37.7% 0.141 359.6)

  11. Step 950

    950

    #460D25

    oklch(27% 0.089 359.5)

Export this scale for Tailwind in the Tailwind colors tool

#DF2F7E 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)#5964800.245
Deuteranopia (no green cones)#88857A0.219
Tritanopia (no blue cones)#F200530.067
Achromatopsia (no color)#7979790.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF2F7E

    #DF2F7E

    oklch(60.6% 0.217 359.4)

  • #009784

    #009784

    oklch(60.6% 0.11 179.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF2F7E

    #DF2F7E

    oklch(60.6% 0.217 359.4)

  • #C441BF

    #C441BF

    oklch(60.6% 0.217 329.5)

  • #E73326

    #E73326

    oklch(60.6% 0.217 29.3)

Open the analogous palette in the generator

Split complementary

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

  • #DF2F7E

    #DF2F7E

    oklch(60.6% 0.217 359.4)

  • #009C44

    #009C44

    oklch(60.5% 0.169 149.4)

  • #0092A4

    #0092A4

    oklch(60.5% 0.105 210)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF2F7E

    #DF2F7E

    oklch(60.6% 0.217 359.4)

  • #798D00

    #798D00

    oklch(60.6% 0.143 119.2)

  • #008BCB

    #008BCB

    oklch(60.6% 0.138 239.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF2F7E

    #DF2F7E

    oklch(60.6% 0.217 359.4)

  • #9F7D00

    #9F7D00

    oklch(60.5% 0.124 89.5)

  • #009784

    #009784

    oklch(60.6% 0.11 179.7)

  • #5171FF

    #5171FF

    oklch(60.5% 0.213 269.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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