#DF87A2#DF87A2

#DF87A2 is a light, moderate pink. Relative luminance 0.356; OKLCH L 72.3% C 0.112 H 0.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#DF87A2
RGBrgb(223, 135, 162)
HSLhsl(342, 58%, 70%)
HSVhsv(342, 39%, 87%)
CMYKcmyk(0%, 39.5%, 27.4%, 12.5%)
CIE-LABlab(66.23, 37.02, 0.17)
CIE-LCHlch(66.23, 37.02, 0.27°)
OKLaboklab(72.33% 0.1119 0.001)
OKLCHoklch(72.33% 0.112 0.5)
XYZxyz(45.6183, 35.6279, 38.6496)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87A2 #87DFC4
analogous
#DF87CE #DF87A2 #DF9887
triadic
#DF87A2 #A2DF87 #87A2DF
tetradic
#DF87A2 #CEDF87 #87DFC4 #9887DF
square
#DF87A2 #CEDF87 #87DFC4 #9887DF
split-complementary
#DF87A2 #87DF98 #87CEDF
monochromatic
#BA325B #D2577D #DF87A2 #ECB7C7 #F9E7EC

Accessibility & contrast

On white

2.58
#DF87A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#DF87A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87A2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87A2#FFFFFF#000000##000000
##DF87A21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A3
Deuteranopia (green-blind)
#A9A7A0
Tritanopia (blue-blind)
#ED8190
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df87a2;
/* rgb */ color: rgb(223, 135, 162);
/* oklch */ color: oklch(72.3% 0.112 0.5);
Tailwind
colors: {
  custom: {
    50: '#ebabbd',
    500: '#df87a2',
    950: '#000000',
  },
}
SCSS
$custom: #df87a2;
$custom-light: #ebabbd;
$custom-dark: #000000;
JSON
{
  "hex": "#df87a2",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 341.591,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72331,
    "c": 0.11186,
    "h": 0.5
  },
  "luminance": 0.35625
}

Semantic roles & 50–950 ramp

primary
#DF87A2
secondary
#D5EDE6
accent
#C59320
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#161012
muted
#847F81

Preview Lab

Preview with #DF87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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