#DF5987#DF5987

#DF5987 is a light, vivid pink. Relative luminance 0.246; OKLCH L 64.9% C 0.172 H 1.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#DF5987
RGBrgb(223, 89, 135)
HSLhsl(339, 68%, 61%)
HSVhsv(339, 60%, 87%)
CMYKcmyk(0%, 60.1%, 39.5%, 12.5%)
CIE-LABlab(56.67, 56.33, 1.79)
CIE-LCHlch(56.67, 56.36, 1.82°)
OKLaboklab(64.88% 0.1719 0.0053)
OKLCHoklch(64.88% 0.172 1.8)
XYZxyz(38.3794, 24.5863, 25.6415)
Luminance0.2458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5987 #59DFB1
analogous
#DF59CA #DF5987 #DF6E59
triadic
#DF5987 #87DF59 #5987DF
tetradic
#DF5987 #CADF59 #59DFB1 #6E59DF
square
#DF5987 #CADF59 #59DFB1 #6E59DF
split-complementary
#DF5987 #59DF6E #59CADF
monochromatic
#9F1F4B #D22963 #DF5987 #E98CAC #F3C0D1

Accessibility & contrast

On white

3.55
#DF5987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#DF5987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5987
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5987#FFFFFF#000000##000000
##DF59871.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#727888
Deuteranopia (green-blind)
#959284
Tritanopia (blue-blind)
#F04B6B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df5987;
/* rgb */ color: rgb(223, 89, 135);
/* oklch */ color: oklch(64.9% 0.172 1.8);
Tailwind
colors: {
  custom: {
    50: '#ed8ea9',
    500: '#df5987',
    950: '#000000',
  },
}
SCSS
$custom: #df5987;
$custom-light: #ed8ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#df5987",
  "rgb": {
    "r": 223,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 339.403,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64877,
    "c": 0.17199,
    "h": 1.8
  },
  "luminance": 0.24582
}

Semantic roles & 50–950 ramp

primary
#DF5987
secondary
#B1E3D2
accent
#D09016
background
#FFF9FA
surface
#FEF1F4
border
#D6CBCE
text
#170D0F
muted
#857E7F

Preview Lab

Preview with #DF5987

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

Preview Lab → · Contrast checker → · Palette generator →

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