#D862BC#D862BC

#D862BC is a light, vivid pink. Relative luminance 0.270; OKLCH L 66.9% C 0.181 H 337.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#D862BC
RGBrgb(216, 98, 188)
HSLhsl(314, 60%, 62%)
HSVhsv(314, 55%, 85%)
CMYKcmyk(0%, 54.6%, 13%, 15.3%)
CIE-LABlab(58.95, 57.09, -25.67)
CIE-LCHlch(58.95, 62.59, 335.79°)
OKLaboklab(66.95% 0.1671 -0.0693)
OKLCHoklch(66.95% 0.181 337.5)
XYZxyz(41.7641, 26.9683, 50.5729)
Luminance0.2697 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862BC #62D87E
analogous
#B962D8 #D862BC #D86281
triadic
#D862BC #BCD862 #62BCD8
tetradic
#D862BC #D8B962 #62D87E #6281D8
square
#D862BC #D8B962 #62D87E #6281D8
split-complementary
#D862BC #81D862 #62D8B9
monochromatic
#99267E #CA32A6 #D862BC #E493D1 #F0C4E6

Accessibility & contrast

On white

3.28
#D862BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#D862BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862BC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862BC#FFFFFF#000000##000000
##D862BC1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BF
Deuteranopia (green-blind)
#8794B9
Tritanopia (blue-blind)
#E26687
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d862bc;
/* rgb */ color: rgb(216, 98, 188);
/* oklch */ color: oklch(66.9% 0.181 337.5);
Tailwind
colors: {
  custom: {
    50: '#e794d0',
    500: '#d862bc',
    950: '#000000',
  },
}
SCSS
$custom: #d862bc;
$custom-light: #e794d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d862bc",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 314.237,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66949,
    "c": 0.18089,
    "h": 337.5
  },
  "luminance": 0.26965
}

Semantic roles & 50–950 ramp

primary
#D862BC
secondary
#B5E1BF
accent
#C8461E
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D862BC

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

Preview Lab → · Contrast checker → · Palette generator →

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