#D166B9#D166B9

#D166B9 is a light, vivid pink. Relative luminance 0.266; OKLCH L 66.4% C 0.167 H 336.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D166B9
RGBrgb(209, 102, 185)
HSLhsl(313, 54%, 61%)
HSVhsv(313, 51%, 82%)
CMYKcmyk(0%, 51.2%, 11.5%, 18%)
CIE-LABlab(58.57, 52.66, -24.62)
CIE-LCHlch(58.57, 58.13, 334.95°)
OKLaboklab(66.43% 0.1533 -0.0664)
OKLCHoklch(66.43% 0.167 336.6)
XYZxyz(39.8031, 26.5636, 48.9204)
Luminance0.2656 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166B9 #66D17E
analogous
#B366D1 #D166B9 #D16683
triadic
#D166B9 #B9D166 #66B9D1
tetradic
#D166B9 #D1B366 #66D17E #6683D1
square
#D166B9 #D1B366 #66D17E #6683D1
split-complementary
#D166B9 #83D166 #66D1B3
monochromatic
#912C7A #C03AA2 #D166B9 #DF95CF #EDC4E4

Accessibility & contrast

On white

3.33
#D166B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D166B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166B9
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166B9#FFFFFF#000000##000000
##D166B91.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BC
Deuteranopia (green-blind)
#8693B6
Tritanopia (blue-blind)
#DA6A87
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d166b9;
/* rgb */ color: rgb(209, 102, 185);
/* oklch */ color: oklch(66.4% 0.167 336.6);
Tailwind
colors: {
  custom: {
    50: '#e196ce',
    500: '#d166b9',
    950: '#000000',
  },
}
SCSS
$custom: #d166b9;
$custom-light: #e196ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d166b9",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 185
  },
  "hsl": {
    "h": 313.458,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66432,
    "c": 0.1671,
    "h": 336.6
  },
  "luminance": 0.26561
}

Semantic roles & 50–950 ramp

primary
#D166B9
secondary
#B5DEBE
accent
#C14724
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E13
muted
#847E82

Preview Lab

Preview with #D166B9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D166B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva