#D862C0#D862C0

#D862C0 is a light, vivid pink. Relative luminance 0.271; OKLCH L 67.1% C 0.184 H 335.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#D862C0
RGBrgb(216, 98, 192)
HSLhsl(312, 60%, 62%)
HSVhsv(312, 55%, 85%)
CMYKcmyk(0%, 54.6%, 11.1%, 15.3%)
CIE-LABlab(59.11, 57.71, -27.71)
CIE-LCHlch(59.11, 64.02, 334.35°)
OKLaboklab(67.12% 0.1679 -0.075)
OKLCHoklch(67.12% 0.184 335.9)
XYZxyz(42.2013, 27.1432, 52.8754)
Luminance0.2714 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862C0 #62D87A
analogous
#B562D8 #D862C0 #D86285
triadic
#D862C0 #C0D862 #62C0D8
tetradic
#D862C0 #D8B562 #62D87A #6285D8
square
#D862C0 #D8B562 #62D87A #6285D8
split-complementary
#D862C0 #85D862 #62D8B5
monochromatic
#992682 #CA32AC #D862C0 #E493D4 #F0C4E7

Accessibility & contrast

On white

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

On black

6.43
#D862C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862C0
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862C0#FFFFFF#000000##000000
##D862C01.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6383C3
Deuteranopia (green-blind)
#8695BD
Tritanopia (blue-blind)
#E26888
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d862c0;
/* rgb */ color: rgb(216, 98, 192);
/* oklch */ color: oklch(67.1% 0.184 335.9);
Tailwind
colors: {
  custom: {
    50: '#e794d3',
    500: '#d862c0',
    950: '#000000',
  },
}
SCSS
$custom: #d862c0;
$custom-light: #e794d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d862c0",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 192
  },
  "hsl": {
    "h": 312.203,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67122,
    "c": 0.18389,
    "h": 335.9
  },
  "luminance": 0.2714
}

Semantic roles & 50–950 ramp

primary
#D862C0
secondary
#B5E1BE
accent
#C8401E
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D862C0

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

Preview Lab → · Contrast checker → · Palette generator →

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