#D866AC#D866AC

#D866AC is a light, vivid pink. Relative luminance 0.271; OKLCH L 66.8% C 0.164 H 344.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#D866AC
RGBrgb(216, 102, 172)
HSLhsl(323, 59%, 62%)
HSVhsv(323, 53%, 85%)
CMYKcmyk(0%, 52.8%, 20.4%, 15.3%)
CIE-LABlab(59.05, 52.81, -16.32)
CIE-LCHlch(59.05, 55.27, 342.82°)
OKLaboklab(66.83% 0.1577 -0.0432)
OKLCHoklch(66.83% 0.164 344.7)
XYZxyz(40.5176, 27.0836, 42.1154)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866AC #66D892
analogous
#CB66D8 #D866AC #D86673
triadic
#D866AC #ACD866 #66ACD8
tetradic
#D866AC #D8CB66 #66D892 #6673D8
square
#D866AC #D8CB66 #66D892 #6673D8
split-complementary
#D866AC #73D866 #66D8CB
monochromatic
#9C286F #CC3592 #D866AC #E497C6 #F1C8E1

Accessibility & contrast

On white

3.27
#D866AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D866AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866AC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866AC#FFFFFF#000000##000000
##D866AC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F82AE
Deuteranopia (green-blind)
#8E95A9
Tritanopia (blue-blind)
#E46581
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d866ac;
/* rgb */ color: rgb(216, 102, 172);
/* oklch */ color: oklch(66.8% 0.164 344.7);
Tailwind
colors: {
  custom: {
    50: '#e796c4',
    500: '#d866ac',
    950: '#000000',
  },
}
SCSS
$custom: #d866ac;
$custom-light: #e796c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d866ac",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 323.158,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6683,
    "c": 0.16353,
    "h": 344.7
  },
  "luminance": 0.2708
}

Semantic roles & 50–950 ramp

primary
#D866AC
secondary
#B8E2C8
accent
#C7601E
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160E12
muted
#847E81

Preview Lab

Preview with #D866AC

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

Preview Lab → · Contrast checker → · Palette generator →

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