#DB52B2#DB52B2

#DB52B2 is a light, vivid pink. Relative luminance 0.243; OKLCH L 65.0% C 0.200 H 341.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#DB52B2
RGBrgb(219, 82, 178)
HSLhsl(318, 66%, 59%)
HSVhsv(318, 63%, 86%)
CMYKcmyk(0%, 62.6%, 18.7%, 14.1%)
CIE-LABlab(56.40, 63.46, -23.80)
CIE-LCHlch(56.40, 67.78, 339.44°)
OKLaboklab(65.03% 0.1891 -0.0638)
OKLCHoklch(65.03% 0.2 341.3)
XYZxyz(40.2676, 24.3127, 44.6829)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52B2 #52DB7B
analogous
#BF52DB #DB52B2 #DB526E
triadic
#DB52B2 #B2DB52 #52B2DB
tetradic
#DB52B2 #DBBF52 #52DB7B #526EDB
square
#DB52B2 #DBBF52 #52DB7B #526EDB
split-complementary
#DB52B2 #6EDB52 #52DBBF
monochromatic
#941F71 #C62997 #DB52B2 #E685C9 #F0B7DF

Accessibility & contrast

On white

3.58
#DB52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#DB52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52B2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52B2#FFFFFF#000000##000000
##DB52B21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#848FAF
Tritanopia (blue-blind)
#E8547B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db52b2;
/* rgb */ color: rgb(219, 82, 178);
/* oklch */ color: oklch(65.0% 0.200 341.3);
Tailwind
colors: {
  custom: {
    50: '#ea8bc9',
    500: '#db52b2',
    950: '#000000',
  },
}
SCSS
$custom: #db52b2;
$custom-light: #ea8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#db52b2",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 317.956,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65031,
    "c": 0.19958,
    "h": 341.3
  },
  "luminance": 0.24309
}

Semantic roles & 50–950 ramp

primary
#DB52B2
secondary
#AADFBA
accent
#E9723F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DB52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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