#DF87CE#DF87CE

#DF87CE is a light, vivid pink. Relative luminance 0.375; OKLCH L 73.8% C 0.139 H 334.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#DF87CE
RGBrgb(223, 135, 206)
HSLhsl(312, 58%, 70%)
HSVhsv(312, 39%, 87%)
CMYKcmyk(0%, 39.5%, 7.6%, 12.5%)
CIE-LABlab(67.63, 43.78, -22.44)
CIE-LCHlch(67.63, 49.19, 332.87°)
OKLaboklab(73.85% 0.1256 -0.0604)
OKLCHoklch(73.85% 0.139 334.3)
XYZxyz(50.2357, 37.4748, 62.9679)
Luminance0.3747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87CE #87DF98
analogous
#C487DF #DF87CE #DF87A2
triadic
#DF87CE #CEDF87 #87CEDF
tetradic
#DF87CE #DFC487 #87DF98 #87A2DF
square
#DF87CE #DFC487 #87DF98 #87A2DF
split-complementary
#DF87CE #A2DF87 #87DFC4
monochromatic
#BA32A0 #D257BA #DF87CE #ECB7E2 #F9E7F5

Accessibility & contrast

On white

2.47
#DF87CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#DF87CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87CE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87CE#FFFFFF#000000##000000
##DF87CE1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DD1
Deuteranopia (green-blind)
#9DA9CB
Tritanopia (blue-blind)
#E78BA1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df87ce;
/* rgb */ color: rgb(223, 135, 206);
/* oklch */ color: oklch(73.8% 0.139 334.3);
Tailwind
colors: {
  custom: {
    50: '#eaacdd',
    500: '#df87ce',
    950: '#000000',
  },
}
SCSS
$custom: #df87ce;
$custom-light: #eaacdd;
$custom-dark: #000000;
JSON
{
  "hex": "#df87ce",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 311.591,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.13935,
    "h": 334.3
  },
  "luminance": 0.37472
}

Semantic roles & 50–950 ramp

primary
#DF87CE
secondary
#D5EDD9
accent
#C54020
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DF87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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