#D166B1#D166B1

#D166B1 is a light, vivid pink. Relative luminance 0.262; OKLCH L 66.1% C 0.161 H 340.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D166B1
RGBrgb(209, 102, 177)
HSLhsl(318, 54%, 61%)
HSVhsv(318, 51%, 82%)
CMYKcmyk(0%, 51.2%, 15.3%, 18%)
CIE-LABlab(58.26, 51.40, -20.50)
CIE-LCHlch(58.26, 55.34, 338.26°)
OKLaboklab(66.1% 0.1515 -0.0549)
OKLCHoklch(66.1% 0.161 340.1)
XYZxyz(38.9822, 26.2353, 44.5972)
Luminance0.2623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166B1 #66D186
analogous
#BB66D1 #D166B1 #D1667B
triadic
#D166B1 #B1D166 #66B1D1
tetradic
#D166B1 #D1BB66 #66D186 #667BD1
square
#D166B1 #D1BB66 #66D186 #667BD1
split-complementary
#D166B1 #7BD166 #66D1BB
monochromatic
#912C73 #C03A98 #D166B1 #DF95C9 #EDC4E1

Accessibility & contrast

On white

3.36
#D166B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D166B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166B1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166B1#FFFFFF#000000##000000
##D166B11.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B81B4
Deuteranopia (green-blind)
#8992AE
Tritanopia (blue-blind)
#DB6883
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d166b1;
/* rgb */ color: rgb(209, 102, 177);
/* oklch */ color: oklch(66.1% 0.161 340.1);
Tailwind
colors: {
  custom: {
    50: '#e195c8',
    500: '#d166b1',
    950: '#000000',
  },
}
SCSS
$custom: #d166b1;
$custom-light: #e195c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d166b1",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 177
  },
  "hsl": {
    "h": 317.944,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66102,
    "c": 0.16111,
    "h": 340.1
  },
  "luminance": 0.26232
}

Semantic roles & 50–950 ramp

primary
#D166B1
secondary
#B5DEC1
accent
#C15324
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D166B1

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

Preview Lab → · Contrast checker → · Palette generator →

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