#D166AC#D166AC

#D166AC is a light, vivid pink. Relative luminance 0.260; OKLCH L 65.9% C 0.158 H 342.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#D166AC
RGBrgb(209, 102, 172)
HSLhsl(321, 54%, 61%)
HSVhsv(321, 51%, 82%)
CMYKcmyk(0%, 51.2%, 17.7%, 18%)
CIE-LABlab(58.07, 50.64, -17.90)
CIE-LCHlch(58.07, 53.71, 340.54°)
OKLaboklab(65.9% 0.1502 -0.0477)
OKLCHoklch(65.9% 0.158 342.4)
XYZxyz(38.4930, 26.0396, 42.0205)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166AC #66D18B
analogous
#C166D1 #D166AC #D16676
triadic
#D166AC #ACD166 #66ACD1
tetradic
#D166AC #D1C166 #66D18B #6676D1
square
#D166AC #D1C166 #66D18B #6676D1
split-complementary
#D166AC #76D166 #66D1C1
monochromatic
#912C6E #C03A92 #D166AC #DF95C6 #EDC4DF

Accessibility & contrast

On white

3.38
#D166AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#D166AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166AC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166AC#FFFFFF#000000##000000
##D166AC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D81AE
Deuteranopia (green-blind)
#8A92A9
Tritanopia (blue-blind)
#DC6781
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d166ac;
/* rgb */ color: rgb(209, 102, 172);
/* oklch */ color: oklch(65.9% 0.158 342.4);
Tailwind
colors: {
  custom: {
    50: '#e195c4',
    500: '#d166ac',
    950: '#000000',
  },
}
SCSS
$custom: #d166ac;
$custom-light: #e195c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d166ac",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 320.748,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65903,
    "c": 0.1576,
    "h": 342.4
  },
  "luminance": 0.26037
}

Semantic roles & 50–950 ramp

primary
#D166AC
secondary
#B5DEC3
accent
#C15B24
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E12
muted
#847E81

Preview Lab

Preview with #D166AC

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

Preview Lab → · Contrast checker → · Palette generator →

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