#DB51C0#DB51C0

#DB51C0 is a light, highly saturated pink. Relative luminance 0.248; OKLCH L 65.5% C 0.211 H 336.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#DB51C0
RGBrgb(219, 81, 192)
HSLhsl(312, 66%, 59%)
HSVhsv(312, 63%, 86%)
CMYKcmyk(0%, 63%, 12.3%, 14.1%)
CIE-LABlab(56.84, 65.90, -31.19)
CIE-LCHlch(56.84, 72.91, 334.67°)
OKLaboklab(65.54% 0.1927 -0.0847)
OKLCHoklch(65.54% 0.211 336.3)
XYZxyz(41.6708, 24.7542, 52.4423)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51C0 #51DB6C
analogous
#B151DB #DB51C0 #DB517B
triadic
#DB51C0 #C0DB51 #51C0DB
tetradic
#DB51C0 #DBB151 #51DB6C #517BDB
square
#DB51C0 #DBB151 #51DB6C #517BDB
split-complementary
#DB51C0 #7BDB51 #51DBB1
monochromatic
#931E7C #C629A7 #DB51C0 #E584D2 #F0B6E5

Accessibility & contrast

On white

3.53
#DB51C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#DB51C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51C0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51C0#FFFFFF#000000##000000
##DB51C01.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC3
Deuteranopia (green-blind)
#7F90BC
Tritanopia (blue-blind)
#E65981
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db51c0;
/* rgb */ color: rgb(219, 81, 192);
/* oklch */ color: oklch(65.5% 0.211 336.3);
Tailwind
colors: {
  custom: {
    50: '#ea8bd3',
    500: '#db51c0',
    950: '#000000',
  },
}
SCSS
$custom: #db51c0;
$custom-light: #ea8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#db51c0",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 311.739,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65541,
    "c": 0.21054,
    "h": 336.3
  },
  "luminance": 0.24751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB51C0

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

Preview Lab → · Contrast checker → · Palette generator →

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