#DA87C2#DA87C2

#DA87C2 is a light, vivid pink. Relative luminance 0.361; OKLCH L 72.8% C 0.126 H 338.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#DA87C2
RGBrgb(218, 135, 194)
HSLhsl(317, 53%, 69%)
HSVhsv(317, 38%, 85%)
CMYKcmyk(0%, 38.1%, 11%, 14.5%)
CIE-LABlab(66.62, 40.15, -17.32)
CIE-LCHlch(66.62, 43.73, 336.66°)
OKLaboklab(72.82% 0.1167 -0.0463)
OKLCHoklch(72.82% 0.126 338.4)
XYZxyz(47.3150, 36.1310, 55.5103)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA87C2 #87DA9F
analogous
#C887DA #DA87C2 #DA8799
triadic
#DA87C2 #C2DA87 #87C2DA
tetradic
#DA87C2 #DAC887 #87DA9F #8799DA
square
#DA87C2 #DAC887 #87DA9F #8799DA
split-complementary
#DA87C2 #99DA87 #87DAC8
monochromatic
#B0368D #CC58AA #DA87C2 #E8B6DA #F7E5F2

Accessibility & contrast

On white

2.55
#DA87C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#DA87C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA87C2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA87C2#FFFFFF#000000##000000
##DA87C21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#899AC4
Deuteranopia (green-blind)
#9EA7C0
Tritanopia (blue-blind)
#E3899C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #da87c2;
/* rgb */ color: rgb(218, 135, 194);
/* oklch */ color: oklch(72.8% 0.126 338.4);
Tailwind
colors: {
  custom: {
    50: '#e7abd4',
    500: '#da87c2',
    950: '#000000',
  },
}
SCSS
$custom: #da87c2;
$custom-light: #e7abd4;
$custom-dark: #000000;
JSON
{
  "hex": "#da87c2",
  "rgb": {
    "r": 218,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 317.349,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72819,
    "c": 0.1255,
    "h": 338.4
  },
  "luminance": 0.36128
}

Semantic roles & 50–950 ramp

primary
#DA87C2
secondary
#D2EAD9
accent
#C05225
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #DA87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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