#DF87AC#DF87AC

#DF87AC is a light, moderate pink. Relative luminance 0.360; OKLCH L 72.6% C 0.116 H 353.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DF87AC
RGBrgb(223, 135, 172)
HSLhsl(335, 58%, 70%)
HSVhsv(335, 39%, 87%)
CMYKcmyk(0%, 39.5%, 22.9%, 12.5%)
CIE-LABlab(66.52, 38.42, -5.05)
CIE-LCHlch(66.52, 38.75, 352.51°)
OKLaboklab(72.64% 0.1153 -0.0128)
OKLCHoklch(72.64% 0.116 353.6)
XYZxyz(46.5428, 35.9977, 43.5186)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87AC #87DFBA
analogous
#DF87D8 #DF87AC #DF8E87
triadic
#DF87AC #ACDF87 #87ACDF
tetradic
#DF87AC #D8DF87 #87DFBA #8E87DF
square
#DF87AC #D8DF87 #87DFBA #8E87DF
split-complementary
#DF87AC #87DF8E #87D8DF
monochromatic
#BA326B #D2578B #DF87AC #ECB7CD #F9E7EE

Accessibility & contrast

On white

2.56
#DF87AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DF87AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87AC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87AC#FFFFFF#000000##000000
##DF87AC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9198AD
Deuteranopia (green-blind)
#A7A8AA
Tritanopia (blue-blind)
#EB8394
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df87ac;
/* rgb */ color: rgb(223, 135, 172);
/* oklch */ color: oklch(72.6% 0.116 353.6);
Tailwind
colors: {
  custom: {
    50: '#ebabc4',
    500: '#df87ac',
    950: '#000000',
  },
}
SCSS
$custom: #df87ac;
$custom-light: #ebabc4;
$custom-dark: #000000;
JSON
{
  "hex": "#df87ac",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 334.773,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7264,
    "c": 0.11604,
    "h": 353.6
  },
  "luminance": 0.35994
}

Semantic roles & 50–950 ramp

primary
#DF87AC
secondary
#D5EDE3
accent
#C58020
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#161012
muted
#847F81

Preview Lab

Preview with #DF87AC

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

Preview Lab → · Contrast checker → · Palette generator →

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