#DB51AC#DB51AC

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

Color values

HEX#DB51AC
RGBrgb(219, 81, 172)
HSLhsl(320, 66%, 59%)
HSVhsv(320, 63%, 86%)
CMYKcmyk(0%, 63%, 21.5%, 14.1%)
CIE-LABlab(56.01, 63.04, -20.91)
CIE-LCHlch(56.01, 66.42, 341.65°)
OKLaboklab(64.67% 0.1891 -0.0557)
OKLCHoklch(64.67% 0.197 343.6)
XYZxyz(39.6035, 23.9272, 41.5544)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51AC #51DB80
analogous
#C551DB #DB51AC #DB5167
triadic
#DB51AC #ACDB51 #51ACDB
tetradic
#DB51AC #DBC551 #51DB80 #5167DB
square
#DB51AC #DBC551 #51DB80 #5167DB
split-complementary
#DB51AC #67DB51 #51DBC5
monochromatic
#931E6B #C62990 #DB51AC #E584C4 #F0B6DC

Accessibility & contrast

On white

3.63
#DB51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB51AC#FFFFFF#000000##000000
##DB51AC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D78AF
Deuteranopia (green-blind)
#868FA9
Tritanopia (blue-blind)
#E85177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #db51ac;
/* rgb */ color: rgb(219, 81, 172);
/* oklch */ color: oklch(64.7% 0.197 343.6);
Tailwind
colors: {
  custom: {
    50: '#ea8ac5',
    500: '#db51ac',
    950: '#000000',
  },
}
SCSS
$custom: #db51ac;
$custom-light: #ea8ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#db51ac",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 320.435,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64672,
    "c": 0.19714,
    "h": 343.6
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#DB51AC
secondary
#A9DFBB
accent
#E9793F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #DB51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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