#DB5796#DB5796

#DB5796 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.5% C 0.177 H 353.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#DB5796
RGBrgb(219, 87, 150)
HSLhsl(331, 65%, 60%)
HSVhsv(331, 60%, 86%)
CMYKcmyk(0%, 60.3%, 31.5%, 14.1%)
CIE-LABlab(56.17, 57.68, -7.83)
CIE-LCHlch(56.17, 58.21, 352.27°)
OKLaboklab(64.53% 0.1756 -0.02)
OKLCHoklch(64.53% 0.177 353.5)
XYZxyz(38.1285, 24.0824, 31.4886)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5796 #57DB9C
analogous
#DB57D8 #DB5796 #DB5A57
triadic
#DB5796 #96DB57 #5796DB
tetradic
#DB5796 #D8DB57 #57DB9C #5A57DB
square
#DB5796 #D8DB57 #57DB9C #5A57DB
split-complementary
#DB5796 #57DB5A #57D8DB
monochromatic
#972059 #CA2B77 #DB5796 #E689B5 #F1BCD5

Accessibility & contrast

On white

3.61
#DB5796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#DB5796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5796
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5796#FFFFFF#000000##000000
##DB57961.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7898
Deuteranopia (green-blind)
#8F9093
Tritanopia (blue-blind)
#EB4F70
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db5796;
/* rgb */ color: rgb(219, 87, 150);
/* oklch */ color: oklch(64.5% 0.177 353.5);
Tailwind
colors: {
  custom: {
    50: '#ea8db4',
    500: '#db5796',
    950: '#000000',
  },
}
SCSS
$custom: #db5796;
$custom-light: #ea8db4;
$custom-dark: #000000;
JSON
{
  "hex": "#db5796",
  "rgb": {
    "r": 219,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 331.364,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.17672,
    "h": 353.5
  },
  "luminance": 0.24078
}

Semantic roles & 50–950 ramp

primary
#DB5796
secondary
#ADE0C8
accent
#E89840
background
#FEF9FB
surface
#FDF1F6
border
#D5CBD0
text
#170D11
muted
#857E80

Preview Lab

Preview with #DB5796

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

Preview Lab → · Contrast checker → · Palette generator →

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