#DB52AB#DB52AB

#DB52AB is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.7% C 0.195 H 344.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#DB52AB
RGBrgb(219, 82, 171)
HSLhsl(321, 66%, 59%)
HSVhsv(321, 63%, 86%)
CMYKcmyk(0%, 62.6%, 21.9%, 14.1%)
CIE-LABlab(56.13, 62.50, -20.16)
CIE-LCHlch(56.13, 65.67, 342.12°)
OKLaboklab(64.74% 0.1876 -0.0536)
OKLCHoklch(64.74% 0.195 344)
XYZxyz(39.5826, 24.0387, 41.0755)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52AB #52DB82
analogous
#C752DB #DB52AB #DB5267
triadic
#DB52AB #ABDB52 #52ABDB
tetradic
#DB52AB #DBC752 #52DB82 #5267DB
square
#DB52AB #DBC752 #52DB82 #5267DB
split-complementary
#DB52AB #67DB52 #52DBC7
monochromatic
#941F6B #C6298F #DB52AB #E685C4 #F0B7DC

Accessibility & contrast

On white

3.62
#DB52AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#DB52AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52AB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52AB#FFFFFF#000000##000000
##DB52AB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AE
Deuteranopia (green-blind)
#868FA8
Tritanopia (blue-blind)
#E85177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db52ab;
/* rgb */ color: rgb(219, 82, 171);
/* oklch */ color: oklch(64.7% 0.195 344.0);
Tailwind
colors: {
  custom: {
    50: '#ea8bc4',
    500: '#db52ab',
    950: '#000000',
  },
}
SCSS
$custom: #db52ab;
$custom-light: #ea8bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#db52ab",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 321.022,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64741,
    "c": 0.19515,
    "h": 344
  },
  "luminance": 0.24035
}

Semantic roles & 50–950 ramp

primary
#DB52AB
secondary
#AADFBC
accent
#E97B3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #DB52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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