#D21A5C

Closest named color: Lipstick (#D5174E). oklch(56.1% 0.213 8.3), rgb(210, 26, 92).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.213)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text4.04:1
White text5.19:1

Values

HEX#D21A5C
RGBrgb(210, 26, 92)
HSLhsl(338, 78%, 46%)
OKLCHoklch(56.1% 0.213 8.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 #D21A5C 5.19:1 AA Lc -79.1 Fine for body text
Black text on #D21A5C 4.04:1 AA large text Lc 30.4 Non-text elements, placeholder text
#D21A5C text on white 5.19:1 AA Lc 73.7 Content text, not long reading
#D21A5C text on black 4.04:1 AA large text Lc -28.0 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE3E6

    oklch(93.7% 0.028 9.4)

  3. Step 200

    200

    #FACBD2

    oklch(88.5% 0.054 8.2)

  4. Step 300

    300

    #F7A7B4

    oklch(80.9% 0.096 8.8)

  5. Step 400

    400

    #EE738E

    oklch(70.6% 0.153 8)

  6. Step 500

    500

    #E54672

    oklch(63.1% 0.196 8.3)

  7. Step 600

    600 (this color)

    #D21A5C

    oklch(56.1% 0.213 8.3)

  8. Step 700

    700

    #B3004A

    oklch(49.1% 0.197 8.5)

  9. Step 800

    800

    #920C3D

    oklch(42.8% 0.164 8.4)

  10. Step 900

    900

    #751834

    oklch(37.7% 0.127 8.3)

  11. Step 950

    950

    #45101F

    oklch(26.9% 0.082 7.4)

Export this scale for Tailwind in the Tailwind colors tool

#D21A5C 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)#53565D0.241
Deuteranopia (no green cones)#8179580.217
Tritanopia (no blue cones)#E6003A0.058
Achromatopsia (no color)#6D6D6D0.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #D21A5C

    #D21A5C

    oklch(56.1% 0.213 8.3)

  • #008780

    #008780

    oklch(56.2% 0.098 188.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D21A5C

    #D21A5C

    oklch(56.1% 0.213 8.3)

  • #BD2C9E

    #BD2C9E

    oklch(56.1% 0.213 338.4)

  • #C83F00

    #C83F00

    oklch(56.1% 0.183 38.3)

Open the analogous palette in the generator

Split complementary

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

  • #D21A5C

    #D21A5C

    oklch(56.1% 0.213 8.3)

  • #008B57

    #008B57

    oklch(56.1% 0.13 158.5)

  • #00829C

    #00829C

    oklch(56% 0.101 218.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D21A5C

    #D21A5C

    oklch(56.1% 0.213 8.3)

  • #5B8400

    #5B8400

    oklch(56.2% 0.147 128.2)

  • #0078C9

    #0078C9

    oklch(56% 0.153 248.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D21A5C

    #D21A5C

    oklch(56.1% 0.213 8.3)

  • #877500

    #877500

    oklch(56.2% 0.116 98.5)

  • #008780

    #008780

    oklch(56.2% 0.098 188.4)

  • #5F5BED

    #5F5BED

    oklch(56.1% 0.213 278.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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