#DB51B1#DB51B1

#DB51B1 is a light, highly saturated pink. Relative luminance 0.241; OKLCH L 64.9% C 0.200 H 341.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#DB51B1
RGBrgb(219, 81, 177)
HSLhsl(318, 66%, 59%)
HSVhsv(318, 63%, 86%)
CMYKcmyk(0%, 63%, 19.2%, 14.1%)
CIE-LABlab(56.21, 63.73, -23.51)
CIE-LCHlch(56.21, 67.93, 339.75°)
OKLaboklab(64.88% 0.1901 -0.063)
OKLCHoklch(64.88% 0.2 341.7)
XYZxyz(40.0927, 24.1229, 44.1311)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51B1 #51DB7B
analogous
#C051DB #DB51B1 #DB516C
triadic
#DB51B1 #B1DB51 #51B1DB
tetradic
#DB51B1 #DBC051 #51DB7B #516CDB
square
#DB51B1 #DBC051 #51DB7B #516CDB
split-complementary
#DB51B1 #6CDB51 #51DBC0
monochromatic
#931E70 #C62996 #DB51B1 #E584C8 #F0B6DE

Accessibility & contrast

On white

3.61
#DB51B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#DB51B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51B1
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51B1#FFFFFF#000000##000000
##DB51B11.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db51b1;
/* rgb */ color: rgb(219, 81, 177);
/* oklch */ color: oklch(64.9% 0.200 341.7);
Tailwind
colors: {
  custom: {
    50: '#ea8ac8',
    500: '#db51b1',
    950: '#000000',
  },
}
SCSS
$custom: #db51b1;
$custom-light: #ea8ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#db51b1",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 318.261,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6488,
    "c": 0.20031,
    "h": 341.7
  },
  "luminance": 0.24119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB51B1

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

Preview Lab → · Contrast checker → · Palette generator →

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