#DB5787#DB5787

#DB5787 is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.0% C 0.171 H 0.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#DB5787
RGBrgb(219, 87, 135)
HSLhsl(338, 65%, 60%)
HSVhsv(338, 60%, 86%)
CMYKcmyk(0%, 60.3%, 38.4%, 14.1%)
CIE-LABlab(55.72, 55.96, 0.32)
CIE-LCHlch(55.72, 55.96, 0.33°)
OKLaboklab(64.04% 0.1708 0.0015)
OKLCHoklch(64.04% 0.171 0.5)
XYZxyz(36.9970, 23.6298, 25.5296)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5787 #57DBAB
analogous
#DB57C9 #DB5787 #DB6957
triadic
#DB5787 #87DB57 #5787DB
tetradic
#DB5787 #C9DB57 #57DBAB #6957DB
square
#DB5787 #C9DB57 #57DBAB #6957DB
split-complementary
#DB5787 #57DB69 #57C9DB
monochromatic
#97204C #CA2B65 #DB5787 #E689AB #F1BCCF

Accessibility & contrast

On white

3.67
#DB5787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#DB5787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5787
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5787#FFFFFF#000000##000000
##DB57871.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7688
Deuteranopia (green-blind)
#928F84
Tritanopia (blue-blind)
#EC4A6A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db5787;
/* rgb */ color: rgb(219, 87, 135);
/* oklch */ color: oklch(64.0% 0.171 0.5);
Tailwind
colors: {
  custom: {
    50: '#ea8ca9',
    500: '#db5787',
    950: '#000000',
  },
}
SCSS
$custom: #db5787;
$custom-light: #ea8ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#db5787",
  "rgb": {
    "r": 219,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 338.182,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.64044,
    "c": 0.17081,
    "h": 0.5
  },
  "luminance": 0.23626
}

Semantic roles & 50–950 ramp

primary
#DB5787
secondary
#ADE0CE
accent
#E8AB40
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170D0F
muted
#857D7F

Preview Lab

Preview with #DB5787

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

Preview Lab → · Contrast checker → · Palette generator →

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