#D21158

Closest named color: Lipstick (#D5174E). oklch(55.7% 0.216 9.2), rgb(210, 17, 88).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.216)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text3.96:1
White text5.30:1

Values

HEX#D21158
RGBrgb(210, 17, 88)
HSLhsl(338, 85%, 45%)
OKLCHoklch(55.7% 0.216 9.2)

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 #D21158 5.30:1 AA Lc -79.5 Fine for body text
Black text on #D21158 3.96:1 AA large text Lc 30.0 Dividers and decoration only
#D21158 text on white 5.30:1 AA Lc 74.1 Content text, not long reading
#D21158 text on black 3.96:1 AA large text Lc -27.6 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

    #FCE3E6

    oklch(93.7% 0.028 9.4)

  3. Step 200

    200

    #FACBD1

    oklch(88.4% 0.054 9.6)

  4. Step 300

    300

    #F8A6B3

    oklch(80.9% 0.098 9.1)

  5. Step 400

    400

    #F0728C

    oklch(70.7% 0.156 9)

  6. Step 500

    500

    #E6446F

    oklch(63% 0.199 9.3)

  7. Step 600

    600 (this color)

    #D21158

    oklch(55.7% 0.216 9.2)

  8. Step 700

    700

    #B30048

    oklch(49% 0.196 9.3)

  9. Step 800

    800

    #93073B

    oklch(42.7% 0.167 9.3)

  10. Step 900

    900

    #761633

    oklch(37.7% 0.13 8.8)

  11. Step 950

    950

    #46101E

    oklch(27.1% 0.083 9.1)

Export this scale for Tailwind in the Tailwind colors tool

#D21158 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)#5254590.245
Deuteranopia (no green cones)#8178530.221
Tritanopia (no blue cones)#E600360.059
Achromatopsia (no color)#6B6B6B0.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #D21158

    #D21158

    oklch(55.7% 0.216 9.2)

  • #00857F

    #00857F

    oklch(55.6% 0.096 189.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D21158

    #D21158

    oklch(55.7% 0.216 9.2)

  • #BE279C

    #BE279C

    oklch(55.8% 0.217 339.3)

  • #C54100

    #C54100

    oklch(55.8% 0.178 39.2)

Open the analogous palette in the generator

Split complementary

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

  • #D21158

    #D21158

    oklch(55.7% 0.216 9.2)

  • #008A58

    #008A58

    oklch(55.9% 0.128 159.2)

  • #00819C

    #00819C

    oklch(55.8% 0.101 219.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D21158

    #D21158

    oklch(55.7% 0.216 9.2)

  • #578300

    #578300

    oklch(55.6% 0.148 129.3)

  • #0077C9

    #0077C9

    oklch(55.8% 0.154 249)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D21158

    #D21158

    oklch(55.7% 0.216 9.2)

  • #857400

    #857400

    oklch(55.8% 0.116 99)

  • #00857F

    #00857F

    oklch(55.6% 0.096 189.2)

  • #6058ED

    #6058ED

    oklch(55.7% 0.216 279.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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