#D287C5#D287C5

#D287C5 is a light, vivid pink. Relative luminance 0.351; OKLCH L 72.0% C 0.121 H 333.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D287C5
RGBrgb(210, 135, 197)
HSLhsl(310, 45%, 68%)
HSVhsv(310, 36%, 82%)
CMYKcmyk(0%, 35.7%, 6.2%, 17.6%)
CIE-LABlab(65.80, 38.04, -20.34)
CIE-LCHlch(65.80, 43.14, 331.87°)
OKLaboklab(72.03% 0.1085 -0.0547)
OKLCHoklch(72.03% 0.121 333.2)
XYZxyz(45.3199, 35.0629, 57.1931)
Luminance0.3506 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287C5 #87D294
analogous
#BA87D2 #D287C5 #D2879F
triadic
#D287C5 #C5D287 #87C5D2
tetradic
#D287C5 #D2BA87 #87D294 #879FD2
square
#D287C5 #D2BA87 #87D294 #879FD2
split-complementary
#D287C5 #9FD287 #87D2BA
monochromatic
#A23D90 #C15AAF #D287C5 #E3B4DB #F3E0F0

Accessibility & contrast

On white

2.62
#D287C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D287C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287C5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287C5#FFFFFF#000000##000000
##D287C51.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8699C7
Deuteranopia (green-blind)
#99A4C3
Tritanopia (blue-blind)
#D98B9E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d287c5;
/* rgb */ color: rgb(210, 135, 197);
/* oklch */ color: oklch(72.0% 0.121 333.2);
Tailwind
colors: {
  custom: {
    50: '#e1abd6',
    500: '#d287c5',
    950: '#000000',
  },
}
SCSS
$custom: #d287c5;
$custom-light: #e1abd6;
$custom-dark: #000000;
JSON
{
  "hex": "#d287c5",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 197
  },
  "hsl": {
    "h": 310.4,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72029,
    "c": 0.12149,
    "h": 333.2
  },
  "luminance": 0.35061
}

Semantic roles & 50–950 ramp

primary
#D287C5
secondary
#CFE6D3
accent
#B9452D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #D287C5

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

Preview Lab → · Contrast checker → · Palette generator →

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