#D866B2#D866B2

#D866B2 is a light, vivid pink. Relative luminance 0.273; OKLCH L 67.1% C 0.167 H 342.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#D866B2
RGBrgb(216, 102, 178)
HSLhsl(320, 59%, 62%)
HSVhsv(320, 53%, 85%)
CMYKcmyk(0%, 52.8%, 17.6%, 15.3%)
CIE-LABlab(59.27, 53.69, -19.44)
CIE-LCHlch(59.27, 57.10, 340.09°)
OKLaboklab(67.06% 0.1593 -0.0519)
OKLCHoklch(67.06% 0.167 342)
XYZxyz(41.1069, 27.3193, 45.2190)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866B2 #66D88C
analogous
#C566D8 #D866B2 #D86679
triadic
#D866B2 #B2D866 #66B2D8
tetradic
#D866B2 #D8C566 #66D88C #6679D8
square
#D866B2 #D8C566 #66D88C #6679D8
split-complementary
#D866B2 #79D866 #66D8C5
monochromatic
#9C2875 #CC3599 #D866B2 #E497CB #F1C8E3

Accessibility & contrast

On white

3.25
#D866B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#D866B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866B2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866B2#FFFFFF#000000##000000
##D866B21.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B5
Deuteranopia (green-blind)
#8D96AF
Tritanopia (blue-blind)
#E46784
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d866b2;
/* rgb */ color: rgb(216, 102, 178);
/* oklch */ color: oklch(67.1% 0.167 342.0);
Tailwind
colors: {
  custom: {
    50: '#e796c9',
    500: '#d866b2',
    950: '#000000',
  },
}
SCSS
$custom: #d866b2;
$custom-light: #e796c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d866b2",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 320,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67063,
    "c": 0.16749,
    "h": 342
  },
  "luminance": 0.27316
}

Semantic roles & 50–950 ramp

primary
#D866B2
secondary
#B8E2C6
accent
#C7571E
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D866B2

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

Preview Lab → · Contrast checker → · Palette generator →

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