#D21D52

Closest named color: Lipstick (#D5174E). oklch(56.1% 0.21 12.3), rgb(210, 29, 82).

Aa

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

About this color

#D21D52 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.210 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick (#D5174E), ΔE 0.008 away. White text reads best on it, at 5.20:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.210)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text4.03:1
White text5.20:1

Values

HEX#D21D52
RGBrgb(210, 29, 82)
HSLhsl(342, 76%, 47%)
OKLCHoklch(56.1% 0.21 12.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 #D21D52 5.20:1 AA Lc -79.2 Fine for body text
Black text on #D21D52 4.03:1 AA large text Lc 30.3 Non-text elements, placeholder text
#D21D52 text on white 5.20:1 AA Lc 73.8 Content text, not long reading
#D21D52 text on black 4.03:1 AA large text Lc -27.9 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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE3E5

    oklch(93.7% 0.028 12.1)

  3. Step 200

    200

    #FACCD0

    oklch(88.6% 0.052 12.3)

  4. Step 300

    300

    #F7A7B0

    oklch(80.8% 0.095 12)

  5. Step 400

    400

    #EF7487

    oklch(70.7% 0.152 12.1)

  6. Step 500

    500

    #E54869

    oklch(63.1% 0.193 12.3)

  7. Step 600

    600 (this color)

    #D21D52

    oklch(56.1% 0.21 12.3)

  8. Step 700

    700

    #B40241

    oklch(49.1% 0.195 12.5)

  9. Step 800

    800

    #920E36

    oklch(42.7% 0.162 12.3)

  10. Step 900

    900

    #75192F

    oklch(37.6% 0.126 12.2)

  11. Step 950

    950

    #45111C

    oklch(27% 0.08 11.7)

Export this scale for Tailwind in the Tailwind colors tool

#D21D52 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)#5655530.237
Deuteranopia (no green cones)#83794D0.214
Tritanopia (no blue cones)#E600360.050
Achromatopsia (no color)#6D6D6D0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #D21D52

    #D21D52

    oklch(56.1% 0.21 12.3)

  • #008683

    #008683

    oklch(56% 0.096 192)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D21D52

    #D21D52

    oklch(56.1% 0.21 12.3)

  • #C02B96

    #C02B96

    oklch(56.1% 0.211 342.2)

  • #C14800

    #C14800

    oklch(56% 0.168 42.2)

Open the analogous palette in the generator

Split complementary

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

  • #D21D52

    #D21D52

    oklch(56.1% 0.21 12.3)

  • #008A5E

    #008A5E

    oklch(56% 0.123 162.2)

  • #0081A0

    #0081A0

    oklch(55.9% 0.104 222.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D21D52

    #D21D52

    oklch(56.1% 0.21 12.3)

  • #4F8600

    #4F8600

    oklch(56% 0.156 132.3)

  • #0075D4

    #0075D4

    oklch(56.1% 0.17 252.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D21D52

    #D21D52

    oklch(56.1% 0.21 12.3)

  • #827600

    #827600

    oklch(55.9% 0.117 102.4)

  • #008683

    #008683

    oklch(56% 0.096 192)

  • #6958E9

    #6958E9

    oklch(56% 0.21 282.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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