#D166CB#D166CB

#D166CB is a light, vivid purple. Relative luminance 0.274; OKLCH L 67.2% C 0.182 H 329.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#D166CB
RGBrgb(209, 102, 203)
HSLhsl(303, 54%, 61%)
HSVhsv(303, 51%, 82%)
CMYKcmyk(0%, 51.2%, 2.9%, 18%)
CIE-LABlab(59.32, 55.66, -33.72)
CIE-LCHlch(59.32, 65.08, 328.80°)
OKLaboklab(67.23% 0.1567 -0.0923)
OKLCHoklch(67.23% 0.182 329.5)
XYZxyz(41.8249, 27.3724, 59.5687)
Luminance0.2737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166CB #66D16C
analogous
#A166D1 #D166CB #D16695
triadic
#D166CB #CBD166 #66CBD1
tetradic
#D166CB #D1A166 #66D16C #6695D1
square
#D166CB #D1A166 #66D16C #6695D1
split-complementary
#D166CB #95D166 #66D1A1
monochromatic
#912C8B #C03AB9 #D166CB #DF95DB #EDC4EB

Accessibility & contrast

On white

3.24
#D166CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#D166CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166CB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166CB#FFFFFF#000000##000000
##D166CB1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CE
Deuteranopia (green-blind)
#7F94C8
Tritanopia (blue-blind)
#D8708F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d166cb;
/* rgb */ color: rgb(209, 102, 203);
/* oklch */ color: oklch(67.2% 0.182 329.5);
Tailwind
colors: {
  custom: {
    50: '#e196db',
    500: '#d166cb',
    950: '#000000',
  },
}
SCSS
$custom: #d166cb;
$custom-light: #e196db;
$custom-dark: #000000;
JSON
{
  "hex": "#d166cb",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 303.364,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67233,
    "c": 0.18189,
    "h": 329.5
  },
  "luminance": 0.2737
}

Semantic roles & 50–950 ramp

primary
#D166CB
secondary
#B5DEB7
accent
#C12D24
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D166CB

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

Preview Lab → · Contrast checker → · Palette generator →

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