#D862AB#D862AB

#D862AB is a light, vivid pink. Relative luminance 0.263; OKLCH L 66.3% C 0.169 H 344.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D862AB
RGBrgb(216, 98, 171)
HSLhsl(323, 60%, 62%)
HSVhsv(323, 55%, 85%)
CMYKcmyk(0%, 54.6%, 20.8%, 15.3%)
CIE-LABlab(58.30, 54.56, -16.89)
CIE-LCHlch(58.30, 57.11, 342.80°)
OKLaboklab(66.26% 0.1632 -0.0448)
OKLCHoklch(66.26% 0.169 344.7)
XYZxyz(40.0383, 26.2780, 41.4836)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862AB #62D88F
analogous
#CA62D8 #D862AB #D86270
triadic
#D862AB #ABD862 #62ABD8
tetradic
#D862AB #D8CA62 #62D88F #6270D8
square
#D862AB #D8CA62 #62D88F #6270D8
split-complementary
#D862AB #70D862 #62D8CA
monochromatic
#99266D #CA3290 #D862AB #E493C5 #F0C4DF

Accessibility & contrast

On white

3.36
#D862AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D862AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862AB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862AB#FFFFFF#000000##000000
##D862AB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AD
Deuteranopia (green-blind)
#8D93A8
Tritanopia (blue-blind)
#E5617F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d862ab;
/* rgb */ color: rgb(216, 98, 171);
/* oklch */ color: oklch(66.3% 0.169 344.7);
Tailwind
colors: {
  custom: {
    50: '#e793c4',
    500: '#d862ab',
    950: '#000000',
  },
}
SCSS
$custom: #d862ab;
$custom-light: #e793c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d862ab",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 322.881,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66259,
    "c": 0.16918,
    "h": 344.7
  },
  "luminance": 0.26275
}

Semantic roles & 50–950 ramp

primary
#D862AB
secondary
#B5E1C6
accent
#C85F1E
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160D12
muted
#847E81

Preview Lab

Preview with #D862AB

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

Preview Lab → · Contrast checker → · Palette generator →

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