#DB51C2#DB51C2

#DB51C2 is a light, highly saturated pink. Relative luminance 0.248; OKLCH L 65.6% C 0.212 H 335.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#DB51C2
RGBrgb(219, 81, 194)
HSLhsl(311, 66%, 59%)
HSVhsv(311, 63%, 86%)
CMYKcmyk(0%, 63%, 11.4%, 14.1%)
CIE-LABlab(56.92, 66.20, -32.21)
CIE-LCHlch(56.92, 73.61, 334.06°)
OKLaboklab(65.63% 0.193 -0.0876)
OKLCHoklch(65.63% 0.212 335.6)
XYZxyz(41.8939, 24.8434, 53.6173)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51C2 #51DB6A
analogous
#AF51DB #DB51C2 #DB517D
triadic
#DB51C2 #C2DB51 #51C2DB
tetradic
#DB51C2 #DBAF51 #51DB6A #517DDB
square
#DB51C2 #DBAF51 #51DB6A #517DDB
split-complementary
#DB51C2 #7DDB51 #51DBAF
monochromatic
#931E7E #C629A9 #DB51C2 #E584D4 #F0B6E6

Accessibility & contrast

On white

3.52
#DB51C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#DB51C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51C2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51C2#FFFFFF#000000##000000
##DB51C21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527BC5
Deuteranopia (green-blind)
#7E90BE
Tritanopia (blue-blind)
#E55982
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #db51c2;
/* rgb */ color: rgb(219, 81, 194);
/* oklch */ color: oklch(65.6% 0.212 335.6);
Tailwind
colors: {
  custom: {
    50: '#ea8bd4',
    500: '#db51c2',
    950: '#000000',
  },
}
SCSS
$custom: #db51c2;
$custom-light: #ea8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#db51c2",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 310.87,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65633,
    "c": 0.21198,
    "h": 335.6
  },
  "luminance": 0.2484
}

Semantic roles & 50–950 ramp

primary
#DB51C2
secondary
#A9DFB3
accent
#E95E3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DB51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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