#DB51B2#DB51B2

#DB51B2 is a light, highly saturated pink. Relative luminance 0.242; OKLCH L 64.9% C 0.201 H 341.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#DB51B2
RGBrgb(219, 81, 178)
HSLhsl(318, 66%, 59%)
HSVhsv(318, 63%, 86%)
CMYKcmyk(0%, 63%, 18.7%, 14.1%)
CIE-LABlab(56.25, 63.87, -24.03)
CIE-LCHlch(56.25, 68.24, 339.38°)
OKLaboklab(64.92% 0.1903 -0.0645)
OKLCHoklch(64.92% 0.201 341.3)
XYZxyz(40.1927, 24.1629, 44.6580)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51B2 #51DB7A
analogous
#BF51DB #DB51B2 #DB516D
triadic
#DB51B2 #B2DB51 #51B2DB
tetradic
#DB51B2 #DBBF51 #51DB7A #516DDB
square
#DB51B2 #DBBF51 #51DB7A #516DDB
split-complementary
#DB51B2 #6DDB51 #51DBBF
monochromatic
#931E70 #C62997 #DB51B2 #E584C8 #F0B6DF

Accessibility & contrast

On white

3.60
#DB51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#DB51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51B2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51B2#FFFFFF#000000##000000
##DB51B21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db51b2;
/* rgb */ color: rgb(219, 81, 178);
/* oklch */ color: oklch(64.9% 0.201 341.3);
Tailwind
colors: {
  custom: {
    50: '#ea8ac9',
    500: '#db51b2',
    950: '#000000',
  },
}
SCSS
$custom: #db51b2;
$custom-light: #ea8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#db51b2",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 317.826,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.20096,
    "h": 341.3
  },
  "luminance": 0.24159
}

Semantic roles & 50–950 ramp

primary
#DB51B2
secondary
#A9DFB9
accent
#E9723F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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