#D287C1#D287C1

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

Color values

HEX#D287C1
RGBrgb(210, 135, 193)
HSLhsl(314, 45%, 68%)
HSVhsv(314, 36%, 82%)
CMYKcmyk(0%, 35.7%, 8.1%, 17.6%)
CIE-LABlab(65.66, 37.35, -18.31)
CIE-LCHlch(65.66, 41.59, 333.88°)
OKLaboklab(71.88% 0.1073 -0.0491)
OKLCHoklch(71.88% 0.118 335.4)
XYZxyz(44.8677, 34.8820, 54.8113)
Luminance0.3488 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287C1 #87D298
analogous
#BE87D2 #D287C1 #D2879B
triadic
#D287C1 #C1D287 #87C1D2
tetradic
#D287C1 #D2BE87 #87D298 #879BD2
square
#D287C1 #D2BE87 #87D298 #879BD2
split-complementary
#D287C1 #9BD287 #87D2BE
monochromatic
#A23D8B #C15AAA #D287C1 #E3B4D8 #F3E0EF

Accessibility & contrast

On white

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

On black

7.98
#D287C1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287C1
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287C1#FFFFFF#000000##000000
##D287C11.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8799C3
Deuteranopia (green-blind)
#9AA3BF
Tritanopia (blue-blind)
#D98A9C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d287c1;
/* rgb */ color: rgb(210, 135, 193);
/* oklch */ color: oklch(71.9% 0.118 335.4);
Tailwind
colors: {
  custom: {
    50: '#e1abd3',
    500: '#d287c1',
    950: '#000000',
  },
}
SCSS
$custom: #d287c1;
$custom-light: #e1abd3;
$custom-dark: #000000;
JSON
{
  "hex": "#d287c1",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 193
  },
  "hsl": {
    "h": 313.6,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.11802,
    "h": 335.4
  },
  "luminance": 0.3488
}

Semantic roles & 50–950 ramp

primary
#D287C1
secondary
#CFE6D4
accent
#B94D2D
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #D287C1

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

Preview Lab → · Contrast checker → · Palette generator →

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