#DB5786#DB5786

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

Color values

HEX#DB5786
RGBrgb(219, 87, 134)
HSLhsl(339, 65%, 60%)
HSVhsv(339, 60%, 86%)
CMYKcmyk(0%, 60.3%, 38.8%, 14.1%)
CIE-LABlab(55.69, 55.85, 0.87)
CIE-LCHlch(55.69, 55.85, 0.89°)
OKLaboklab(64.01% 0.1705 0.0029)
OKLCHoklch(64.01% 0.17 1)
XYZxyz(36.9270, 23.6018, 25.1606)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5786 #57DBAC
analogous
#DB57C8 #DB5786 #DB6A57
triadic
#DB5786 #86DB57 #5786DB
tetradic
#DB5786 #C8DB57 #57DBAC #6A57DB
square
#DB5786 #C8DB57 #57DBAC #6A57DB
split-complementary
#DB5786 #57DB6A #57C8DB
monochromatic
#97204B #CA2B64 #DB5786 #E689AA #F1BCCF

Accessibility & contrast

On white

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

On black

5.72
#DB5786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5786
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5786#FFFFFF#000000##000000
##DB57861.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7687
Deuteranopia (green-blind)
#928F83
Tritanopia (blue-blind)
#EC4A69
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db5786;
/* rgb */ color: rgb(219, 87, 134);
/* oklch */ color: oklch(64.0% 0.170 1.0);
Tailwind
colors: {
  custom: {
    50: '#ea8ca9',
    500: '#db5786',
    950: '#000000',
  },
}
SCSS
$custom: #db5786;
$custom-light: #ea8ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#db5786",
  "rgb": {
    "r": 219,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 338.636,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.64013,
    "c": 0.17049,
    "h": 1
  },
  "luminance": 0.23598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB5786

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

Preview Lab → · Contrast checker → · Palette generator →

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