#D166B1

Closest named color: Pale Magenta (#D767AD). oklch(66.1% 0.161 340.1), rgb(209, 102, 177).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-light (66%)
Chromavivid (0.161)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.24:1
White text3.36:1

Values

HEX#D166B1
RGBrgb(209, 102, 177)
HSLhsl(318, 54%, 61%)
OKLCHoklch(66.1% 0.161 340.1)

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 #D166B1 3.36:1 AA large text Lc -66.1 Content text, not long reading
Black text on #D166B1 6.24:1 AA Lc 43.5 Non-text elements, placeholder text
#D166B1 text on white 3.36:1 AA large text Lc 60.6 Content text, not long reading
#D166B1 text on black 6.24:1 AA Lc -41.1 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

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECEE2

    oklch(88.4% 0.044 340.1)

  4. Step 300

    300

    #E4ADD1

    oklch(80.9% 0.079 339.7)

  5. Step 400

    400

    #D480B9

    oklch(70.7% 0.126 340)

  6. Step 500

    500 (this color)

    #D166B1

    oklch(66.1% 0.161 340.1)

  7. Step 600

    600

    #B23F93

    oklch(55.6% 0.176 340)

  8. Step 700

    700

    #99307D

    oklch(49.1% 0.163 340.2)

  9. Step 800

    800

    #7C2966

    oklch(42.7% 0.136 339.8)

  10. Step 900

    900

    #642753

    oklch(37.7% 0.105 339.7)

  11. Step 950

    950

    #3B1830

    oklch(27% 0.065 340.8)

Export this scale for Tailwind in the Tailwind colors tool

#D166B1 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)#6B81B40.168
Deuteranopia (no green cones)#8992AE0.151
Tritanopia (no blue cones)#DB68830.073
Achromatopsia (no color)#8C8C8C0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #D166B1

    #D166B1

    oklch(66.1% 0.161 340.1)

  • #00AD72

    #00AD72

    oklch(66% 0.149 160.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D166B1

    #D166B1

    oklch(66.1% 0.161 340.1)

  • #B173DB

    #B173DB

    oklch(66.2% 0.161 310.2)

  • #E2627C

    #E2627C

    oklch(66.2% 0.161 10)

Open the analogous palette in the generator

Split complementary

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

  • #D166B1

    #D166B1

    oklch(66.1% 0.161 340.1)

  • #71A528

    #71A528

    oklch(66.1% 0.161 130)

  • #00A8A2

    #00A8A2

    oklch(66% 0.114 190.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D166B1

    #D166B1

    oklch(66.1% 0.161 340.1)

  • #A69300

    #A69300

    oklch(66% 0.137 100.1)

  • #00A3C5

    #00A3C5

    oklch(66.2% 0.12 219.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D166B1

    #D166B1

    oklch(66.1% 0.161 340.1)

  • #C98000

    #C98000

    oklch(66.1% 0.143 70)

  • #00AD72

    #00AD72

    oklch(66% 0.149 160.2)

  • #3396F0

    #3396F0

    oklch(66% 0.161 250.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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