#DB5797#DB5797

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

Color values

HEX#DB5797
RGBrgb(219, 87, 151)
HSLhsl(331, 65%, 60%)
HSVhsv(331, 60%, 86%)
CMYKcmyk(0%, 60.3%, 31.1%, 14.1%)
CIE-LABlab(56.20, 57.80, -8.37)
CIE-LCHlch(56.20, 58.40, 351.76°)
OKLaboklab(64.57% 0.1759 -0.0214)
OKLCHoklch(64.57% 0.177 353.1)
XYZxyz(38.2094, 24.1148, 31.9145)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5797 #57DB9B
analogous
#DB57D9 #DB5797 #DB5957
triadic
#DB5797 #97DB57 #5797DB
tetradic
#DB5797 #D9DB57 #57DB9B #5957DB
square
#DB5797 #D9DB57 #57DB9B #5957DB
split-complementary
#DB5797 #57DB59 #57D9DB
monochromatic
#97205A #CA2B78 #DB5797 #E689B6 #F1BCD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB5797#FFFFFF#000000##000000
##DB57971.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)
#6A7899
Deuteranopia (green-blind)
#8E9094
Tritanopia (blue-blind)
#EA4F70
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db5797;
/* rgb */ color: rgb(219, 87, 151);
/* oklch */ color: oklch(64.6% 0.177 353.1);
Tailwind
colors: {
  custom: {
    50: '#ea8db5',
    500: '#db5797',
    950: '#000000',
  },
}
SCSS
$custom: #db5797;
$custom-light: #ea8db5;
$custom-dark: #000000;
JSON
{
  "hex": "#db5797",
  "rgb": {
    "r": 219,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 330.909,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.64566,
    "c": 0.17719,
    "h": 353.1
  },
  "luminance": 0.24111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB5797

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

Preview Lab → · Contrast checker → · Palette generator →

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