#DB5297#DB5297

#DB5297 is a light, vivid pink. Relative luminance 0.233; OKLCH L 64.0% C 0.184 H 352.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#DB5297
RGBrgb(219, 82, 151)
HSLhsl(330, 66%, 59%)
HSVhsv(330, 63%, 86%)
CMYKcmyk(0%, 62.6%, 31.1%, 14.1%)
CIE-LABlab(55.41, 59.94, -9.55)
CIE-LCHlch(55.41, 60.69, 350.95°)
OKLaboklab(63.98% 0.1825 -0.0246)
OKLCHoklch(63.98% 0.184 352.3)
XYZxyz(37.8185, 23.3330, 31.7842)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5297 #52DB96
analogous
#DB52DB #DB5297 #DB5253
triadic
#DB5297 #97DB52 #5297DB
tetradic
#DB5297 #DBDB52 #52DB96 #5253DB
square
#DB5297 #DBDB52 #52DB96 #5253DB
split-complementary
#DB5297 #53DB52 #52DBDB
monochromatic
#941F5A #C62978 #DB5297 #E685B5 #F0B7D4

Accessibility & contrast

On white

3.71
#DB5297 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#DB5297 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5297
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5297#FFFFFF#000000##000000
##DB52971.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#8C8E94
Tritanopia (blue-blind)
#EB4A6E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db5297;
/* rgb */ color: rgb(219, 82, 151);
/* oklch */ color: oklch(64.0% 0.184 352.3);
Tailwind
colors: {
  custom: {
    50: '#ea8ab5',
    500: '#db5297',
    950: '#000000',
  },
}
SCSS
$custom: #db5297;
$custom-light: #ea8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#db5297",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 329.781,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.18418,
    "h": 352.3
  },
  "luminance": 0.23329
}

Semantic roles & 50–950 ramp

primary
#DB5297
secondary
#AADFC4
accent
#E9933F
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C11
muted
#857D80

Preview Lab

Preview with #DB5297

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

Preview Lab → · Contrast checker → · Palette generator →

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