#D287C0#D287C0

#D287C0 is a light, moderate pink. Relative luminance 0.348; OKLCH L 71.8% C 0.117 H 336.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D287C0
RGBrgb(210, 135, 192)
HSLhsl(314, 45%, 68%)
HSVhsv(314, 36%, 82%)
CMYKcmyk(0%, 35.7%, 8.6%, 17.6%)
CIE-LABlab(65.62, 37.17, -17.80)
CIE-LCHlch(65.62, 41.22, 334.41°)
OKLaboklab(71.84% 0.107 -0.0477)
OKLCHoklch(71.84% 0.117 336)
XYZxyz(44.7565, 34.8376, 54.2258)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287C0 #87D299
analogous
#BF87D2 #D287C0 #D2879A
triadic
#D287C0 #C0D287 #87C0D2
tetradic
#D287C0 #D2BF87 #87D299 #879AD2
square
#D287C0 #D2BF87 #87D299 #879AD2
split-complementary
#D287C0 #9AD287 #87D2BF
monochromatic
#A23D8A #C15AA9 #D287C0 #E3B4D7 #F3E0EF

Accessibility & contrast

On white

2.64
#D287C0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D287C0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287C0
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287C0#FFFFFF#000000##000000
##D287C01.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8899C2
Deuteranopia (green-blind)
#9AA3BE
Tritanopia (blue-blind)
#D98A9C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d287c0;
/* rgb */ color: rgb(210, 135, 192);
/* oklch */ color: oklch(71.8% 0.117 336.0);
Tailwind
colors: {
  custom: {
    50: '#e1abd3',
    500: '#d287c0',
    950: '#000000',
  },
}
SCSS
$custom: #d287c0;
$custom-light: #e1abd3;
$custom-dark: #000000;
JSON
{
  "hex": "#d287c0",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 192
  },
  "hsl": {
    "h": 314.4,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71838,
    "c": 0.11717,
    "h": 336
  },
  "luminance": 0.34835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287C0

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

Preview Lab → · Contrast checker → · Palette generator →

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