#D166AB#D166AB

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

Color values

HEX#D166AB
RGBrgb(209, 102, 171)
HSLhsl(321, 54%, 61%)
HSVhsv(321, 51%, 82%)
CMYKcmyk(0%, 51.2%, 18.2%, 18%)
CIE-LABlab(58.04, 50.49, -17.38)
CIE-LCHlch(58.04, 53.40, 341.01°)
OKLaboklab(65.86% 0.15 -0.0462)
OKLCHoklch(65.86% 0.157 342.9)
XYZxyz(38.3973, 26.0013, 41.5166)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166AB #66D18C
analogous
#C166D1 #D166AB #D16675
triadic
#D166AB #ABD166 #66ABD1
tetradic
#D166AB #D1C166 #66D18C #6675D1
square
#D166AB #D1C166 #66D18C #6675D1
split-complementary
#D166AB #75D166 #66D1C1
monochromatic
#912C6D #C03A90 #D166AB #DF95C5 #EDC4DF

Accessibility & contrast

On white

3.39
#D166AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#D166AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166AB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166AB#FFFFFF#000000##000000
##D166AB1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D81AD
Deuteranopia (green-blind)
#8A92A8
Tritanopia (blue-blind)
#DC6681
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d166ab;
/* rgb */ color: rgb(209, 102, 171);
/* oklch */ color: oklch(65.9% 0.157 342.9);
Tailwind
colors: {
  custom: {
    50: '#e195c4',
    500: '#d166ab',
    950: '#000000',
  },
}
SCSS
$custom: #d166ab;
$custom-light: #e195c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d166ab",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 321.308,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65864,
    "c": 0.15692,
    "h": 342.9
  },
  "luminance": 0.25998
}

Semantic roles & 50–950 ramp

primary
#D166AB
secondary
#B5DEC4
accent
#C15C24
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E12
muted
#847E81

Preview Lab

Preview with #D166AB

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

Preview Lab → · Contrast checker → · Palette generator →

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