#DB51AB#DB51AB

#DB51AB is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.6% C 0.197 H 344.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#DB51AB
RGBrgb(219, 81, 171)
HSLhsl(321, 66%, 59%)
HSVhsv(321, 63%, 86%)
CMYKcmyk(0%, 63%, 21.9%, 14.1%)
CIE-LABlab(55.98, 62.91, -20.39)
CIE-LCHlch(55.98, 66.13, 342.05°)
OKLaboklab(64.63% 0.1889 -0.0543)
OKLCHoklch(64.63% 0.197 344)
XYZxyz(39.5078, 23.8890, 41.0505)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51AB #51DB81
analogous
#C651DB #DB51AB #DB5166
triadic
#DB51AB #ABDB51 #51ABDB
tetradic
#DB51AB #DBC651 #51DB81 #5166DB
square
#DB51AB #DBC651 #51DB81 #5166DB
split-complementary
#DB51AB #66DB51 #51DBC6
monochromatic
#931E6B #C6298F #DB51AB #E584C3 #F0B6DC

Accessibility & contrast

On white

3.64
#DB51AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#DB51AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51AB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51AB#FFFFFF#000000##000000
##DB51AB1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AE
Deuteranopia (green-blind)
#868FA8
Tritanopia (blue-blind)
#E85077
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #db51ab;
/* rgb */ color: rgb(219, 81, 171);
/* oklch */ color: oklch(64.6% 0.197 344.0);
Tailwind
colors: {
  custom: {
    50: '#ea8ac4',
    500: '#db51ab',
    950: '#000000',
  },
}
SCSS
$custom: #db51ab;
$custom-light: #ea8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#db51ab",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 320.87,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64631,
    "c": 0.19652,
    "h": 344
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#DB51AB
secondary
#A9DFBC
accent
#E97A3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #DB51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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