#D166A8#D166A8

#D166A8 is a light, vivid pink. Relative luminance 0.259; OKLCH L 65.7% C 0.155 H 344.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D166A8
RGBrgb(209, 102, 168)
HSLhsl(323, 54%, 61%)
HSVhsv(323, 51%, 82%)
CMYKcmyk(0%, 51.2%, 19.6%, 18%)
CIE-LABlab(57.93, 50.05, -15.81)
CIE-LCHlch(57.93, 52.48, 342.47°)
OKLaboklab(65.75% 0.1492 -0.0419)
OKLCHoklch(65.75% 0.155 344.3)
XYZxyz(38.1146, 25.8882, 40.0277)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D166A8 #66D18F
analogous
#C566D1 #D166A8 #D16672
triadic
#D166A8 #A8D166 #66A8D1
tetradic
#D166A8 #D1C566 #66D18F #6672D1
square
#D166A8 #D1C566 #66D18F #6672D1
split-complementary
#D166A8 #72D166 #66D1C5
monochromatic
#912C6A #C03A8D #D166A8 #DF95C3 #EDC4DE

Accessibility & contrast

On white

3.40
#D166A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D166A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D166A8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D166A8#FFFFFF#000000##000000
##D166A81.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80AA
Deuteranopia (green-blind)
#8B92A5
Tritanopia (blue-blind)
#DD657F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d166a8;
/* rgb */ color: rgb(209, 102, 168);
/* oklch */ color: oklch(65.7% 0.155 344.3);
Tailwind
colors: {
  custom: {
    50: '#e295c2',
    500: '#d166a8',
    950: '#000000',
  },
}
SCSS
$custom: #d166a8;
$custom-light: #e295c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d166a8",
  "rgb": {
    "r": 209,
    "g": 102,
    "b": 168
  },
  "hsl": {
    "h": 322.991,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.15493,
    "h": 344.3
  },
  "luminance": 0.25885
}

Semantic roles & 50–950 ramp

primary
#D166A8
secondary
#B5DEC5
accent
#C16024
background
#FEF9FB
surface
#FCF2F7
border
#D5CCD0
text
#160E12
muted
#847E81

Preview Lab

Preview with #D166A8

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

Preview Lab → · Contrast checker → · Palette generator →

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