#D862A5#D862A5

#D862A5 is a light, vivid pink. Relative luminance 0.261; OKLCH L 66.0% C 0.166 H 347.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#D862A5
RGBrgb(216, 98, 165)
HSLhsl(326, 60%, 62%)
HSVhsv(326, 55%, 85%)
CMYKcmyk(0%, 54.6%, 23.6%, 15.3%)
CIE-LABlab(58.09, 53.71, -13.74)
CIE-LCHlch(58.09, 55.44, 345.66°)
OKLaboklab(66.03% 0.1616 -0.0361)
OKLCHoklch(66.03% 0.166 347.4)
XYZxyz(39.4793, 26.0544, 38.5398)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862A5 #62D895
analogous
#D062D8 #D862A5 #D8626A
triadic
#D862A5 #A5D862 #62A5D8
tetradic
#D862A5 #D8D062 #62D895 #626AD8
square
#D862A5 #D8D062 #62D895 #626AD8
split-complementary
#D862A5 #6AD862 #62D8D0
monochromatic
#992668 #CA3289 #D862A5 #E493C1 #F0C4DD

Accessibility & contrast

On white

3.38
#D862A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#D862A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862A5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862A5#FFFFFF#000000##000000
##D862A51.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7FA7
Deuteranopia (green-blind)
#8E93A2
Tritanopia (blue-blind)
#E55F7C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d862a5;
/* rgb */ color: rgb(216, 98, 165);
/* oklch */ color: oklch(66.0% 0.166 347.4);
Tailwind
colors: {
  custom: {
    50: '#e793bf',
    500: '#d862a5',
    950: '#000000',
  },
}
SCSS
$custom: #d862a5;
$custom-light: #e793bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d862a5",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 165
  },
  "hsl": {
    "h": 325.932,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.16553,
    "h": 347.4
  },
  "luminance": 0.26051
}

Semantic roles & 50–950 ramp

primary
#D862A5
secondary
#B5E1C8
accent
#C8671E
background
#FEF9FB
surface
#FDF2F7
border
#D5CCD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #D862A5

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

Preview Lab → · Contrast checker → · Palette generator →

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