#D02E87

Closest named color: Medium Violet Red (#C71585). oklch(58.3% 0.21 352.5), rgb(208, 46, 135).

Aa

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

About this color

#D02E87 is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.210 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.033 away. White text reads best on it, at 4.74:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.210)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.42:1
White text4.74:1

Values

HEX#D02E87
RGBrgb(208, 46, 135)
HSLhsl(327, 64%, 50%)
OKLCHoklch(58.3% 0.21 352.5)

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 #D02E87 4.74:1 AA Lc -77.0 Fine for body text
Black text on #D02E87 4.42:1 AA large text Lc 32.6 Non-text elements, placeholder text
#D02E87 text on white 4.74:1 AA Lc 71.5 Content text, not long reading
#D02E87 text on black 4.42:1 AA large text Lc -30.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 600.

  1. Step 50

    50

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE3EB

    oklch(93.7% 0.027 354.5)

  3. Step 200

    200

    #F6CCDC

    oklch(88.6% 0.052 353.3)

  4. Step 300

    300

    #F1A7C6

    oklch(80.8% 0.095 352.6)

  5. Step 400

    400

    #E675AA

    oklch(70.7% 0.151 352.2)

  6. Step 500

    500

    #DB4A95

    oklch(63% 0.194 352.2)

  7. Step 600

    600 (this color)

    #D02E87

    oklch(58.3% 0.21 352.5)

  8. Step 700

    700

    #AB0F6B

    oklch(49.1% 0.196 352.6)

  9. Step 800

    800

    #8B1457

    oklch(42.7% 0.162 352.7)

  10. Step 900

    900

    #701B48

    oklch(37.7% 0.126 352.5)

  11. Step 950

    950

    #42122A

    oklch(27% 0.08 352.8)

Export this scale for Tailwind in the Tailwind colors tool

#D02E87 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)#4D60890.237
Deuteranopia (no green cones)#7C7D830.208
Tritanopia (no blue cones)#E01C570.076
Achromatopsia (no color)#7373730.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02E87

    #D02E87

    oklch(58.3% 0.21 352.5)

  • #009074

    #009074

    oklch(58.2% 0.112 172.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02E87

    #D02E87

    oklch(58.3% 0.21 352.5)

  • #B241C2

    #B241C2

    oklch(58.3% 0.211 322.5)

  • #DC2B3C

    #DC2B3C

    oklch(58.3% 0.21 22.5)

Open the analogous palette in the generator

Split complementary

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

  • #D02E87

    #D02E87

    oklch(58.3% 0.21 352.5)

  • #019600

    #019600

    oklch(58.3% 0.198 142.5)

  • #008C95

    #008C95

    oklch(58.3% 0.099 202.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02E87

    #D02E87

    oklch(58.3% 0.21 352.5)

  • #7D8200

    #7D8200

    oklch(58.3% 0.129 112.5)

  • #0086B6

    #0086B6

    oklch(58.3% 0.12 232.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02E87

    #D02E87

    oklch(58.3% 0.21 352.5)

  • #9E7300

    #9E7300

    oklch(58.3% 0.12 82.4)

  • #009074

    #009074

    oklch(58.2% 0.112 172.6)

  • #3070F5

    #3070F5

    oklch(58.3% 0.21 262.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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