#D866C2#D866C2

#D866C2 is a light, vivid pink. Relative luminance 0.280; OKLCH L 67.7% C 0.179 H 335.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#D866C2
RGBrgb(216, 102, 194)
HSLhsl(312, 59%, 62%)
HSVhsv(312, 53%, 85%)
CMYKcmyk(0%, 52.8%, 10.2%, 15.3%)
CIE-LABlab(59.89, 56.16, -27.64)
CIE-LCHlch(59.89, 62.59, 333.79°)
OKLaboklab(67.73% 0.1628 -0.0749)
OKLCHoklch(67.73% 0.179 335.3)
XYZxyz(42.8081, 27.9997, 54.1783)
Luminance0.2800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866C2 #66D87C
analogous
#B566D8 #D866C2 #D86689
triadic
#D866C2 #C2D866 #66C2D8
tetradic
#D866C2 #D8B566 #66D87C #6689D8
square
#D866C2 #D8B566 #66D87C #6689D8
split-complementary
#D866C2 #89D866 #66D8B5
monochromatic
#9C2885 #CC35AF #D866C2 #E497D5 #F1C8E9

Accessibility & contrast

On white

3.18
#D866C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#D866C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866C2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866C2#FFFFFF#000000##000000
##D866C21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6686C5
Deuteranopia (green-blind)
#8797BF
Tritanopia (blue-blind)
#E16C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d866c2;
/* rgb */ color: rgb(216, 102, 194);
/* oklch */ color: oklch(67.7% 0.179 335.3);
Tailwind
colors: {
  custom: {
    50: '#e696d4',
    500: '#d866c2',
    950: '#000000',
  },
}
SCSS
$custom: #d866c2;
$custom-light: #e696d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d866c2",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 311.579,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67727,
    "c": 0.1792,
    "h": 335.3
  },
  "luminance": 0.27997
}

Semantic roles & 50–950 ramp

primary
#D866C2
secondary
#B8E2C0
accent
#C73F1E
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D866C2

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

Preview Lab → · Contrast checker → · Palette generator →

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