#D166BC#D166BC

#D166BC is a light, vivid pink. Relative luminance 0.267; OKLCH L 66.6% C 0.169 H 335.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#D166BC
RGBrgb(209, 102, 188)
HSLhsl(312, 54%, 61%)
HSVhsv(312, 51%, 82%)
CMYKcmyk(0%, 51.2%, 10%, 18%)
CIE-LABlab(58.69, 53.15, -26.15)
CIE-LCHlch(58.69, 59.23, 333.80°)
OKLaboklab(66.56% 0.154 -0.0708)
OKLCHoklch(66.56% 0.169 335.3)
XYZxyz(40.1231, 26.6916, 50.6059)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166BC #66D17B
analogous
#B066D1 #D166BC #D16686
triadic
#D166BC #BCD166 #66BCD1
tetradic
#D166BC #D1B066 #66D17B #6686D1
square
#D166BC #D1B066 #66D17B #6686D1
split-complementary
#D166BC #86D166 #66D1B0
monochromatic
#912C7D #C03AA6 #D166BC #DF95D1 #EDC4E5

Accessibility & contrast

On white

3.31
#D166BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#D166BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166BC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166BC#FFFFFF#000000##000000
##D166BC1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#8593B9
Tritanopia (blue-blind)
#DA6B88
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d166bc;
/* rgb */ color: rgb(209, 102, 188);
/* oklch */ color: oklch(66.6% 0.169 335.3);
Tailwind
colors: {
  custom: {
    50: '#e196d0',
    500: '#d166bc',
    950: '#000000',
  },
}
SCSS
$custom: #d166bc;
$custom-light: #e196d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d166bc",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 311.776,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6656,
    "c": 0.16945,
    "h": 335.3
  },
  "luminance": 0.26689
}

Semantic roles & 50–950 ramp

primary
#D166BC
secondary
#B5DEBD
accent
#C14324
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D166BC

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

Preview Lab → · Contrast checker → · Palette generator →

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