#DF87C8#DF87C8

#DF87C8 is a light, vivid pink. Relative luminance 0.372; OKLCH L 73.6% C 0.134 H 337.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#DF87C8
RGBrgb(223, 135, 200)
HSLhsl(316, 58%, 70%)
HSVhsv(316, 39%, 87%)
CMYKcmyk(0%, 39.5%, 10.3%, 12.5%)
CIE-LABlab(67.42, 42.77, -19.41)
CIE-LCHlch(67.42, 46.97, 335.59°)
OKLaboklab(73.62% 0.124 -0.052)
OKLCHoklch(73.62% 0.134 337.2)
XYZxyz(49.5207, 37.1888, 59.2022)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87C8 #87DF9E
analogous
#CA87DF #DF87C8 #DF879C
triadic
#DF87C8 #C8DF87 #87C8DF
tetradic
#DF87C8 #DFCA87 #87DF9E #879CDF
square
#DF87C8 #DFCA87 #87DF9E #879CDF
split-complementary
#DF87C8 #9CDF87 #87DFCA
monochromatic
#BA3296 #D257B2 #DF87C8 #ECB7DE #F9E7F4

Accessibility & contrast

On white

2.49
#DF87C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#DF87C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87C8
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87C8#FFFFFF#000000##000000
##DF87C81.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#899CCA
Deuteranopia (green-blind)
#9FA9C5
Tritanopia (blue-blind)
#E88A9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df87c8;
/* rgb */ color: rgb(223, 135, 200);
/* oklch */ color: oklch(73.6% 0.134 337.2);
Tailwind
colors: {
  custom: {
    50: '#eaacd8',
    500: '#df87c8',
    950: '#000000',
  },
}
SCSS
$custom: #df87c8;
$custom-light: #eaacd8;
$custom-dark: #000000;
JSON
{
  "hex": "#df87c8",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 315.682,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73618,
    "c": 0.13443,
    "h": 337.2
  },
  "luminance": 0.37186
}

Semantic roles & 50–950 ramp

primary
#DF87C8
secondary
#D5EDDB
accent
#C54B20
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #DF87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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