#DB51B3#DB51B3

#DB51B3 is a light, highly saturated pink. Relative luminance 0.242; OKLCH L 65.0% C 0.202 H 340.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#DB51B3
RGBrgb(219, 81, 179)
HSLhsl(317, 66%, 59%)
HSVhsv(317, 63%, 86%)
CMYKcmyk(0%, 63%, 18.3%, 14.1%)
CIE-LABlab(56.29, 64.01, -24.54)
CIE-LCHlch(56.29, 68.56, 339.02°)
OKLaboklab(64.96% 0.1905 -0.0659)
OKLCHoklch(64.96% 0.202 340.9)
XYZxyz(40.2935, 24.2032, 45.1887)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51B3 #51DB79
analogous
#BE51DB #DB51B3 #DB516E
triadic
#DB51B3 #B3DB51 #51B3DB
tetradic
#DB51B3 #DBBE51 #51DB79 #516EDB
square
#DB51B3 #DBBE51 #51DB79 #516EDB
split-complementary
#DB51B3 #6EDB51 #51DBBE
monochromatic
#931E71 #C62998 #DB51B3 #E584C9 #F0B6DF

Accessibility & contrast

On white

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

On black

5.84
#DB51B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51B3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51B3#FFFFFF#000000##000000
##DB51B31.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B6
Deuteranopia (green-blind)
#838FB0
Tritanopia (blue-blind)
#E7547B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db51b3;
/* rgb */ color: rgb(219, 81, 179);
/* oklch */ color: oklch(65.0% 0.202 340.9);
Tailwind
colors: {
  custom: {
    50: '#ea8aca',
    500: '#db51b3',
    950: '#000000',
  },
}
SCSS
$custom: #db51b3;
$custom-light: #ea8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#db51b3",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 317.391,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64965,
    "c": 0.20161,
    "h": 340.9
  },
  "luminance": 0.242
}

Semantic roles & 50–950 ramp

primary
#DB51B3
secondary
#A9DFB8
accent
#E9703F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB51B3

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

Preview Lab → · Contrast checker → · Palette generator →

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