#DB52B5#DB52B5

#DB52B5 is a light, highly saturated pink. Relative luminance 0.244; OKLCH L 65.2% C 0.202 H 340.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#DB52B5
RGBrgb(219, 82, 181)
HSLhsl(317, 66%, 59%)
HSVhsv(317, 63%, 86%)
CMYKcmyk(0%, 62.6%, 17.4%, 14.1%)
CIE-LABlab(56.52, 63.89, -25.35)
CIE-LCHlch(56.52, 68.73, 338.36°)
OKLaboklab(65.16% 0.1897 -0.0682)
OKLCHoklch(65.16% 0.202 340.2)
XYZxyz(40.5721, 24.4345, 46.2866)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52B5 #52DB78
analogous
#BC52DB #DB52B5 #DB5271
triadic
#DB52B5 #B5DB52 #52B5DB
tetradic
#DB52B5 #DBBC52 #52DB78 #5271DB
square
#DB52B5 #DBBC52 #52DB78 #5271DB
split-complementary
#DB52B5 #71DB52 #52DBBC
monochromatic
#941F73 #C6299B #DB52B5 #E685CB #F0B7E0

Accessibility & contrast

On white

3.57
#DB52B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#DB52B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52B5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52B5#FFFFFF#000000##000000
##DB52B51.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7AB8
Deuteranopia (green-blind)
#8390B2
Tritanopia (blue-blind)
#E7557C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db52b5;
/* rgb */ color: rgb(219, 82, 181);
/* oklch */ color: oklch(65.2% 0.202 340.2);
Tailwind
colors: {
  custom: {
    50: '#ea8bcb',
    500: '#db52b5',
    950: '#000000',
  },
}
SCSS
$custom: #db52b5;
$custom-light: #ea8bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#db52b5",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 181
  },
  "hsl": {
    "h": 316.642,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.20156,
    "h": 340.2
  },
  "luminance": 0.24431
}

Semantic roles & 50–950 ramp

primary
#DB52B5
secondary
#AADFB8
accent
#E96E3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DB52B5

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

Preview Lab → · Contrast checker → · Palette generator →

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