#D287C3#D287C3

#D287C3 is a light, moderate pink. Relative luminance 0.350; OKLCH L 72.0% C 0.120 H 334.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D287C3
RGBrgb(210, 135, 195)
HSLhsl(312, 45%, 68%)
HSVhsv(312, 36%, 82%)
CMYKcmyk(0%, 35.7%, 7.1%, 17.6%)
CIE-LABlab(65.73, 37.69, -19.33)
CIE-LCHlch(65.73, 42.36, 332.85°)
OKLaboklab(71.95% 0.1079 -0.0519)
OKLCHoklch(71.95% 0.12 334.3)
XYZxyz(45.0923, 34.9719, 55.9942)
Luminance0.3497 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287C3 #87D296
analogous
#BC87D2 #D287C3 #D2879D
triadic
#D287C3 #C3D287 #87C3D2
tetradic
#D287C3 #D2BC87 #87D296 #879DD2
square
#D287C3 #D2BC87 #87D296 #879DD2
split-complementary
#D287C3 #9DD287 #87D2BC
monochromatic
#A23D8E #C15AAD #D287C3 #E3B4D9 #F3E0F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D287C3#FFFFFF#000000##000000
##D287C31.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)
#8799C5
Deuteranopia (green-blind)
#9AA4C1
Tritanopia (blue-blind)
#D98A9D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d287c3;
/* rgb */ color: rgb(210, 135, 195);
/* oklch */ color: oklch(72.0% 0.120 334.3);
Tailwind
colors: {
  custom: {
    50: '#e1abd5',
    500: '#d287c3',
    950: '#000000',
  },
}
SCSS
$custom: #d287c3;
$custom-light: #e1abd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d287c3",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 195
  },
  "hsl": {
    "h": 312,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71952,
    "c": 0.11974,
    "h": 334.3
  },
  "luminance": 0.3497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287C3

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

Preview Lab → · Contrast checker → · Palette generator →

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