#DF87CF#DF87CF

#DF87CF is a light, vivid pink. Relative luminance 0.375; OKLCH L 73.9% C 0.140 H 333.8°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#DF87CF
RGBrgb(223, 135, 207)
HSLhsl(311, 58%, 70%)
HSVhsv(311, 39%, 87%)
CMYKcmyk(0%, 39.5%, 7.2%, 12.5%)
CIE-LABlab(67.67, 43.95, -22.94)
CIE-LCHlch(67.67, 49.57, 332.44°)
OKLaboklab(73.89% 0.1258 -0.0618)
OKLCHoklch(73.89% 0.14 333.8)
XYZxyz(50.3576, 37.5236, 63.6097)
Luminance0.3752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87CF #87DF97
analogous
#C387DF #DF87CF #DF87A3
triadic
#DF87CF #CFDF87 #87CFDF
tetradic
#DF87CF #DFC387 #87DF97 #87A3DF
square
#DF87CF #DFC387 #87DF97 #87A3DF
split-complementary
#DF87CF #A3DF87 #87DFC3
monochromatic
#BA32A1 #D257BC #DF87CF #ECB7E2 #F9E7F5

Accessibility & contrast

On white

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

On black

8.50
#DF87CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87CF
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87CF#FFFFFF#000000##000000
##DF87CF1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#869DD2
Deuteranopia (green-blind)
#9DA9CC
Tritanopia (blue-blind)
#E78BA2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df87cf;
/* rgb */ color: rgb(223, 135, 207);
/* oklch */ color: oklch(73.9% 0.140 333.8);
Tailwind
colors: {
  custom: {
    50: '#eaacdd',
    500: '#df87cf',
    950: '#000000',
  },
}
SCSS
$custom: #df87cf;
$custom-light: #eaacdd;
$custom-dark: #000000;
JSON
{
  "hex": "#df87cf",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 310.909,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.1402,
    "h": 333.8
  },
  "luminance": 0.37521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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