#DB51AA#DB51AA

#DB51AA is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.6% C 0.196 H 344.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#DB51AA
RGBrgb(219, 81, 170)
HSLhsl(321, 66%, 59%)
HSVhsv(321, 63%, 86%)
CMYKcmyk(0%, 63%, 22.4%, 14.1%)
CIE-LABlab(55.94, 62.77, -19.86)
CIE-LCHlch(55.94, 65.84, 342.44°)
OKLaboklab(64.59% 0.1887 -0.0528)
OKLCHoklch(64.59% 0.196 344.4)
XYZxyz(39.4128, 23.8510, 40.5504)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51AA #51DB82
analogous
#C751DB #DB51AA #DB5165
triadic
#DB51AA #AADB51 #51AADB
tetradic
#DB51AA #DBC751 #51DB82 #5165DB
square
#DB51AA #DBC751 #51DB82 #5165DB
split-complementary
#DB51AA #65DB51 #51DBC7
monochromatic
#931E6A #C6298E #DB51AA #E584C3 #F0B6DC

Accessibility & contrast

On white

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

On black

5.77
#DB51AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51AA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51AA#FFFFFF#000000##000000
##DB51AA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AD
Deuteranopia (green-blind)
#868FA7
Tritanopia (blue-blind)
#E95076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #db51aa;
/* rgb */ color: rgb(219, 81, 170);
/* oklch */ color: oklch(64.6% 0.196 344.4);
Tailwind
colors: {
  custom: {
    50: '#ea8ac3',
    500: '#db51aa',
    950: '#000000',
  },
}
SCSS
$custom: #db51aa;
$custom-light: #ea8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#db51aa",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 321.304,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6459,
    "c": 0.19592,
    "h": 344.4
  },
  "luminance": 0.23847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB51AA

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

Preview Lab → · Contrast checker → · Palette generator →

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