#DB5987#DB5987

#DB5987 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.3% C 0.168 H 0.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#DB5987
RGBrgb(219, 89, 135)
HSLhsl(339, 64%, 60%)
HSVhsv(339, 59%, 86%)
CMYKcmyk(0%, 59.4%, 38.4%, 14.1%)
CIE-LABlab(56.05, 55.07, 0.80)
CIE-LCHlch(56.05, 55.08, 0.83°)
OKLaboklab(64.29% 0.168 0.0028)
OKLCHoklch(64.29% 0.168 0.9)
XYZxyz(37.1612, 23.9582, 25.5844)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5987 #59DBAD
analogous
#DB59C8 #DB5987 #DB6C59
triadic
#DB5987 #87DB59 #5987DB
tetradic
#DB5987 #C8DB59 #59DBAD #6C59DB
square
#DB5987 #C8DB59 #59DBAD #6C59DB
split-complementary
#DB5987 #59DB6C #59C8DB
monochromatic
#99214B #CB2C64 #DB5987 #E68BAB #F1BED0

Accessibility & contrast

On white

3.63
#DB5987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#DB5987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5987
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5987#FFFFFF#000000##000000
##DB59871.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#707788
Deuteranopia (green-blind)
#939084
Tritanopia (blue-blind)
#EC4C6B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #db5987;
/* rgb */ color: rgb(219, 89, 135);
/* oklch */ color: oklch(64.3% 0.168 0.9);
Tailwind
colors: {
  custom: {
    50: '#ea8ea9',
    500: '#db5987',
    950: '#000000',
  },
}
SCSS
$custom: #db5987;
$custom-light: #ea8ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#db5987",
  "rgb": {
    "r": 219,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 338.769,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6429,
    "c": 0.16804,
    "h": 0.9
  },
  "luminance": 0.23954
}

Semantic roles & 50–950 ramp

primary
#DB5987
secondary
#AFE1CF
accent
#CC8D19
background
#FEF9FA
surface
#FDF1F4
border
#D5CBCE
text
#170D0F
muted
#857E7F

Preview Lab

Preview with #DB5987

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

Preview Lab → · Contrast checker → · Palette generator →

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