#DB51C1#DB51C1

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

Color values

HEX#DB51C1
RGBrgb(219, 81, 193)
HSLhsl(311, 66%, 59%)
HSVhsv(311, 63%, 86%)
CMYKcmyk(0%, 63%, 11.9%, 14.1%)
CIE-LABlab(56.88, 66.05, -31.70)
CIE-LCHlch(56.88, 73.26, 334.36°)
OKLaboklab(65.59% 0.1929 -0.0862)
OKLCHoklch(65.59% 0.211 335.9)
XYZxyz(41.7820, 24.7986, 53.0278)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51C1 #51DB6B
analogous
#B051DB #DB51C1 #DB517C
triadic
#DB51C1 #C1DB51 #51C1DB
tetradic
#DB51C1 #DBB051 #51DB6B #517CDB
square
#DB51C1 #DBB051 #51DB6B #517CDB
split-complementary
#DB51C1 #7CDB51 #51DBB0
monochromatic
#931E7D #C629A8 #DB51C1 #E584D3 #F0B6E5

Accessibility & contrast

On white

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

On black

5.96
#DB51C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51C1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51C1#FFFFFF#000000##000000
##DB51C11.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#527BC4
Deuteranopia (green-blind)
#7E90BD
Tritanopia (blue-blind)
#E65982
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db51c1;
/* rgb */ color: rgb(219, 81, 193);
/* oklch */ color: oklch(65.6% 0.211 335.9);
Tailwind
colors: {
  custom: {
    50: '#ea8bd4',
    500: '#db51c1',
    950: '#000000',
  },
}
SCSS
$custom: #db51c1;
$custom-light: #ea8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#db51c1",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 311.304,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65587,
    "c": 0.21125,
    "h": 335.9
  },
  "luminance": 0.24795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB51C1

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

Preview Lab → · Contrast checker → · Palette generator →

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