#D166BB#D166BB

#D166BB is a light, vivid pink. Relative luminance 0.266; OKLCH L 66.5% C 0.169 H 335.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D166BB
RGBrgb(209, 102, 187)
HSLhsl(312, 54%, 61%)
HSVhsv(312, 51%, 82%)
CMYKcmyk(0%, 51.2%, 10.5%, 18%)
CIE-LABlab(58.65, 52.99, -25.64)
CIE-LCHlch(58.65, 58.86, 334.18°)
OKLaboklab(66.52% 0.1538 -0.0693)
OKLCHoklch(66.52% 0.169 335.7)
XYZxyz(40.0157, 26.6487, 50.0402)
Luminance0.2665 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166BB #66D17C
analogous
#B166D1 #D166BB #D16685
triadic
#D166BB #BBD166 #66BBD1
tetradic
#D166BB #D1B166 #66D17C #6685D1
square
#D166BB #D1B166 #66D17C #6685D1
split-complementary
#D166BB #85D166 #66D1B1
monochromatic
#912C7C #C03AA4 #D166BB #DF95D0 #EDC4E5

Accessibility & contrast

On white

3.32
#D166BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D166BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166BB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166BB#FFFFFF#000000##000000
##D166BB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BE
Deuteranopia (green-blind)
#8593B8
Tritanopia (blue-blind)
#DA6B88
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d166bb;
/* rgb */ color: rgb(209, 102, 187);
/* oklch */ color: oklch(66.5% 0.169 335.7);
Tailwind
colors: {
  custom: {
    50: '#e196cf',
    500: '#d166bb',
    950: '#000000',
  },
}
SCSS
$custom: #d166bb;
$custom-light: #e196cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d166bb",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 312.336,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66518,
    "c": 0.16866,
    "h": 335.7
  },
  "luminance": 0.26646
}

Semantic roles & 50–950 ramp

primary
#D166BB
secondary
#B5DEBE
accent
#C14524
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D166BB

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

Preview Lab → · Contrast checker → · Palette generator →

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