#D166B8

Closest named color: Pale Magenta (#D767AD). oklch(66.4% 0.166 337), rgb(209, 102, 184).

Aa

Black text reads best on this color (6.30:1).

About this color

#D166B8 is a medium-light, vivid pink. In OKLCH its lightness is 66%, its chroma 0.166 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.021 away. Black text reads best on it, at 6.30:1.

Hue familyPinks
Lightnessmedium-light (66%)
Chromavivid (0.166)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.30:1
White text3.33:1

Values

HEX#D166B8
RGBrgb(209, 102, 184)
HSLhsl(314, 54%, 61%)
OKLCHoklch(66.4% 0.166 337)

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 #D166B8 3.33:1 AA large text Lc -65.7 Content text, not long reading
Black text on #D166B8 6.30:1 AA Lc 43.8 Non-text elements, placeholder text
#D166B8 text on white 3.33:1 AA large text Lc 60.3 Content text, not long reading
#D166B8 text on black 6.30:1 AA Lc -41.5 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 500.

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EECEE4

    oklch(88.5% 0.046 337.4)

  4. Step 300

    300

    #E3ADD4

    oklch(80.9% 0.081 336.7)

  5. Step 400

    400

    #D47FBE

    oklch(70.7% 0.131 337.2)

  6. Step 500

    500 (this color)

    #D166B8

    oklch(66.4% 0.166 337)

  7. Step 600

    600

    #B13E99

    oklch(55.6% 0.181 337)

  8. Step 700

    700

    #982F83

    oklch(49.2% 0.168 336.9)

  9. Step 800

    800

    #7B286A

    oklch(42.6% 0.14 336.8)

  10. Step 900

    900

    #642656

    oklch(37.7% 0.109 337.2)

  11. Step 950

    950

    #3B1732

    oklch(27% 0.069 337.9)

Export this scale for Tailwind in the Tailwind colors tool

#D166B8 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)#6882BB0.172
Deuteranopia (no green cones)#8693B50.155
Tritanopia (no blue cones)#DA6A870.079
Achromatopsia (no color)#8D8D8D0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #D166B8

    #D166B8

    oklch(66.4% 0.166 337)

  • #00AF6B

    #00AF6B

    oklch(66.4% 0.158 157.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D166B8

    #D166B8

    oklch(66.4% 0.166 337)

  • #AE74E2

    #AE74E2

    oklch(66.4% 0.166 306.8)

  • #E46082

    #E46082

    oklch(66.3% 0.166 6.8)

Open the analogous palette in the generator

Split complementary

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

  • #D166B8

    #D166B8

    oklch(66.4% 0.166 337)

  • #78A512

    #78A512

    oklch(66.5% 0.167 126.9)

  • #00AA9F

    #00AA9F

    oklch(66.4% 0.116 186.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D166B8

    #D166B8

    oklch(66.4% 0.166 337)

  • #AB9200

    #AB9200

    oklch(66.3% 0.137 96.9)

  • #00A4C2

    #00A4C2

    oklch(66.3% 0.118 217)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D166B8

    #D166B8

    oklch(66.4% 0.166 337)

  • #CE7E00

    #CE7E00

    oklch(66.3% 0.147 66.7)

  • #00AF6B

    #00AF6B

    oklch(66.4% 0.158 157.1)

  • #1C99F2

    #1C99F2

    oklch(66.4% 0.166 246.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D166B8.

Similar named colors

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

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