#D287C2#D287C2

#D287C2 is a light, moderate pink. Relative luminance 0.349; OKLCH L 71.9% C 0.119 H 334.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D287C2
RGBrgb(210, 135, 194)
HSLhsl(313, 45%, 68%)
HSVhsv(313, 36%, 82%)
CMYKcmyk(0%, 35.7%, 7.6%, 17.6%)
CIE-LABlab(65.69, 37.52, -18.82)
CIE-LCHlch(65.69, 41.98, 333.36°)
OKLaboklab(71.91% 0.1076 -0.0505)
OKLCHoklch(71.91% 0.119 334.9)
XYZxyz(44.9796, 34.9268, 55.4008)
Luminance0.3493 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287C2 #87D297
analogous
#BD87D2 #D287C2 #D2879C
triadic
#D287C2 #C2D287 #87C2D2
tetradic
#D287C2 #D2BD87 #87D297 #879CD2
square
#D287C2 #D2BD87 #87D297 #879CD2
split-complementary
#D287C2 #9CD287 #87D2BD
monochromatic
#A23D8C #C15AAB #D287C2 #E3B4D9 #F3E0EF

Accessibility & contrast

On white

2.63
#D287C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#D287C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287C2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287C2#FFFFFF#000000##000000
##D287C21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8799C4
Deuteranopia (green-blind)
#9AA4C0
Tritanopia (blue-blind)
#D98A9C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d287c2;
/* rgb */ color: rgb(210, 135, 194);
/* oklch */ color: oklch(71.9% 0.119 334.9);
Tailwind
colors: {
  custom: {
    50: '#e1abd4',
    500: '#d287c2',
    950: '#000000',
  },
}
SCSS
$custom: #d287c2;
$custom-light: #e1abd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d287c2",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 312.8,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71913,
    "c": 0.11888,
    "h": 334.9
  },
  "luminance": 0.34925
}

Semantic roles & 50–950 ramp

primary
#D287C2
secondary
#CFE6D4
accent
#B94B2D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #D287C2

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

Preview Lab → · Contrast checker → · Palette generator →

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