#D02166

Closest named color: Dark Hot Pink (#D90166). oklch(56.4% 0.209 4.6), rgb(208, 33, 102).

Aa

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

About this color

#D02166 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.209 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.020 away. White text reads best on it, at 5.13:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text4.09:1
White text5.13:1

Values

HEX#D02166
RGBrgb(208, 33, 102)
HSLhsl(336, 73%, 47%)
OKLCHoklch(56.4% 0.209 4.6)

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 #D02166 5.13:1 AA Lc -79.0 Fine for body text
Black text on #D02166 4.09:1 AA large text Lc 30.5 Non-text elements, placeholder text
#D02166 text on white 5.13:1 AA Lc 73.6 Content text, not long reading
#D02166 text on black 4.09:1 AA large text Lc -28.1 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

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F9CBD5

    oklch(88.5% 0.053 3.6)

  4. Step 300

    300

    #F5A7B9

    oklch(80.9% 0.094 4.3)

  5. Step 400

    400

    #EC7495

    oklch(70.7% 0.151 4.3)

  6. Step 500

    500

    #E2487B

    oklch(63.1% 0.193 4.4)

  7. Step 600

    600 (this color)

    #D02166

    oklch(56.4% 0.209 4.6)

  8. Step 700

    700

    #B10653

    oklch(49.1% 0.195 4.4)

  9. Step 800

    800

    #901044

    oklch(42.8% 0.162 4.5)

  10. Step 900

    900

    #741939

    oklch(37.7% 0.127 4.7)

  11. Step 950

    950

    #441121

    oklch(26.9% 0.079 5)

Export this scale for Tailwind in the Tailwind colors tool

#D02166 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)#5258670.237
Deuteranopia (no green cones)#807A620.213
Tritanopia (no blue cones)#E300420.059
Achromatopsia (no color)#6E6E6E0.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02166

    #D02166

    oklch(56.4% 0.209 4.6)

  • #00887D

    #00887D

    oklch(56.4% 0.099 184.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02166

    #D02166

    oklch(56.4% 0.209 4.6)

  • #B933A6

    #B933A6

    oklch(56.4% 0.209 334.4)

  • #D13300

    #D13300

    oklch(56.5% 0.2 34.6)

Open the analogous palette in the generator

Split complementary

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

  • #D02166

    #D02166

    oklch(56.4% 0.209 4.6)

  • #008D4E

    #008D4E

    oklch(56.5% 0.141 154.4)

  • #00849A

    #00849A

    oklch(56.4% 0.1 214.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02166

    #D02166

    oklch(56.4% 0.209 4.6)

  • #648300

    #648300

    oklch(56.5% 0.141 124.5)

  • #007BC2

    #007BC2

    oklch(56.3% 0.142 244.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02166

    #D02166

    oklch(56.4% 0.209 4.6)

  • #8C7400

    #8C7400

    oklch(56.5% 0.116 94.5)

  • #00887D

    #00887D

    oklch(56.4% 0.099 184.9)

  • #5760ED

    #5760ED

    oklch(56.4% 0.209 274.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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