#D287C4#D287C4

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

Color values

HEX#D287C4
RGBrgb(210, 135, 196)
HSLhsl(311, 45%, 68%)
HSVhsv(311, 36%, 82%)
CMYKcmyk(0%, 35.7%, 6.7%, 17.6%)
CIE-LABlab(65.76, 37.87, -19.83)
CIE-LCHlch(65.76, 42.75, 332.36°)
OKLaboklab(71.99% 0.1082 -0.0533)
OKLCHoklch(71.99% 0.121 333.8)
XYZxyz(45.2057, 35.0173, 56.5917)
Luminance0.3502 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287C4 #87D295
analogous
#BB87D2 #D287C4 #D2879E
triadic
#D287C4 #C4D287 #87C4D2
tetradic
#D287C4 #D2BB87 #87D295 #879ED2
square
#D287C4 #D2BB87 #87D295 #879ED2
split-complementary
#D287C4 #9ED287 #87D2BB
monochromatic
#A23D8F #C15AAE #D287C4 #E3B4DA #F3E0F0

Accessibility & contrast

On white

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

On black

8.00
#D287C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287C4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287C4#FFFFFF#000000##000000
##D287C41.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8699C6
Deuteranopia (green-blind)
#99A4C2
Tritanopia (blue-blind)
#D98B9D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d287c4;
/* rgb */ color: rgb(210, 135, 196);
/* oklch */ color: oklch(72.0% 0.121 333.8);
Tailwind
colors: {
  custom: {
    50: '#e1abd6',
    500: '#d287c4',
    950: '#000000',
  },
}
SCSS
$custom: #d287c4;
$custom-light: #e1abd6;
$custom-dark: #000000;
JSON
{
  "hex": "#d287c4",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 311.2,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7199,
    "c": 0.12061,
    "h": 333.8
  },
  "luminance": 0.35015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287C4

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

Preview Lab → · Contrast checker → · Palette generator →

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