#DB51BB#DB51BB

#DB51BB is a light, highly saturated pink. Relative luminance 0.245; OKLCH L 65.3% C 0.207 H 338.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#DB51BB
RGBrgb(219, 81, 187)
HSLhsl(314, 66%, 59%)
HSVhsv(314, 63%, 86%)
CMYKcmyk(0%, 63%, 14.6%, 14.1%)
CIE-LABlab(56.62, 65.16, -28.65)
CIE-LCHlch(56.62, 71.18, 336.26°)
OKLaboklab(65.31% 0.192 -0.0775)
OKLCHoklch(65.31% 0.207 338)
XYZxyz(41.1262, 24.5363, 49.5741)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51BB #51DB71
analogous
#B651DB #DB51BB #DB5176
triadic
#DB51BB #BBDB51 #51BBDB
tetradic
#DB51BB #DBB651 #51DB71 #5176DB
square
#DB51BB #DBB651 #51DB71 #5176DB
split-complementary
#DB51BB #76DB51 #51DBB6
monochromatic
#931E78 #C629A1 #DB51BB #E584CF #F0B6E3

Accessibility & contrast

On white

3.56
#DB51BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#DB51BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51BB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51BB#FFFFFF#000000##000000
##DB51BB1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#8190B8
Tritanopia (blue-blind)
#E6577F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db51bb;
/* rgb */ color: rgb(219, 81, 187);
/* oklch */ color: oklch(65.3% 0.207 338.0);
Tailwind
colors: {
  custom: {
    50: '#ea8acf',
    500: '#db51bb',
    950: '#000000',
  },
}
SCSS
$custom: #db51bb;
$custom-light: #ea8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#db51bb",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 313.913,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65314,
    "c": 0.20701,
    "h": 338
  },
  "luminance": 0.24533
}

Semantic roles & 50–950 ramp

primary
#DB51BB
secondary
#A9DFB5
accent
#E9663F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DB51BB

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

Preview Lab → · Contrast checker → · Palette generator →

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