#D166B4#D166B4

#D166B4 is a light, vivid pink. Relative luminance 0.264; OKLCH L 66.2% C 0.163 H 338.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#D166B4
RGBrgb(209, 102, 180)
HSLhsl(316, 54%, 61%)
HSVhsv(316, 51%, 82%)
CMYKcmyk(0%, 51.2%, 13.9%, 18%)
CIE-LABlab(58.37, 51.87, -22.05)
CIE-LCHlch(58.37, 56.36, 336.97°)
OKLaboklab(66.22% 0.1522 -0.0592)
OKLCHoklch(66.22% 0.163 338.7)
XYZxyz(39.2845, 26.3562, 46.1893)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166B4 #66D183
analogous
#B866D1 #D166B4 #D1667E
triadic
#D166B4 #B4D166 #66B4D1
tetradic
#D166B4 #D1B866 #66D183 #667ED1
square
#D166B4 #D1B866 #66D183 #667ED1
split-complementary
#D166B4 #7ED166 #66D1B8
monochromatic
#912C76 #C03A9C #D166B4 #DF95CB #EDC4E2

Accessibility & contrast

On white

3.35
#D166B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#D166B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166B4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166B4#FFFFFF#000000##000000
##D166B41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A82B7
Deuteranopia (green-blind)
#8892B1
Tritanopia (blue-blind)
#DB6985
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d166b4;
/* rgb */ color: rgb(209, 102, 180);
/* oklch */ color: oklch(66.2% 0.163 338.7);
Tailwind
colors: {
  custom: {
    50: '#e195ca',
    500: '#d166b4',
    950: '#000000',
  },
}
SCSS
$custom: #d166b4;
$custom-light: #e195ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d166b4",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 316.262,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66224,
    "c": 0.16331,
    "h": 338.7
  },
  "luminance": 0.26353
}

Semantic roles & 50–950 ramp

primary
#D166B4
secondary
#B5DEC0
accent
#C14F24
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D166B4

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

Preview Lab → · Contrast checker → · Palette generator →

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