#DB52AC#DB52AC

#DB52AC is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.8% C 0.196 H 343.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#DB52AC
RGBrgb(219, 82, 172)
HSLhsl(321, 66%, 59%)
HSVhsv(321, 63%, 86%)
CMYKcmyk(0%, 62.6%, 21.5%, 14.1%)
CIE-LABlab(56.16, 62.63, -20.68)
CIE-LCHlch(56.16, 65.96, 341.73°)
OKLaboklab(64.78% 0.1879 -0.0551)
OKLCHoklch(64.78% 0.196 343.6)
XYZxyz(39.6783, 24.0769, 41.5794)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52AC #52DB81
analogous
#C652DB #DB52AC #DB5268
triadic
#DB52AC #ACDB52 #52ACDB
tetradic
#DB52AC #DBC652 #52DB81 #5268DB
square
#DB52AC #DBC652 #52DB81 #5268DB
split-complementary
#DB52AC #68DB52 #52DBC6
monochromatic
#941F6C #C62991 #DB52AC #E685C4 #F0B7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB52AC#FFFFFF#000000##000000
##DB52AC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AF
Deuteranopia (green-blind)
#868FA9
Tritanopia (blue-blind)
#E85278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db52ac;
/* rgb */ color: rgb(219, 82, 172);
/* oklch */ color: oklch(64.8% 0.196 343.6);
Tailwind
colors: {
  custom: {
    50: '#ea8bc5',
    500: '#db52ac',
    950: '#000000',
  },
}
SCSS
$custom: #db52ac;
$custom-light: #ea8bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#db52ac",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 320.584,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.19577,
    "h": 343.6
  },
  "luminance": 0.24073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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