#DB518A#DB518A

#DB518A is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.4% C 0.180 H 358.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#DB518A
RGBrgb(219, 81, 138)
HSLhsl(335, 66%, 59%)
HSVhsv(335, 63%, 86%)
CMYKcmyk(0%, 63%, 37%, 14.1%)
CIE-LABlab(54.85, 58.86, -2.72)
CIE-LCHlch(54.85, 58.92, 357.35°)
OKLaboklab(63.43% 0.1799 -0.0064)
OKLCHoklch(63.43% 0.18 358)
XYZxyz(36.7455, 22.7840, 26.5025)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB518A #51DBA2
analogous
#DB51CF #DB518A #DB5D51
triadic
#DB518A #8ADB51 #518ADB
tetradic
#DB518A #CFDB51 #51DBA2 #5D51DB
square
#DB518A #CFDB51 #51DBA2 #5D51DB
split-complementary
#DB518A #51DB5D #51CFDB
monochromatic
#931E4F #C6296A #DB518A #E584AC #F0B6CE

Accessibility & contrast

On white

3.78
#DB518A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#DB518A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB518A
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB518A#FFFFFF#000000##000000
##DB518A1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#69738C
Deuteranopia (green-blind)
#8F8D87
Tritanopia (blue-blind)
#EC4468
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db518a;
/* rgb */ color: rgb(219, 81, 138);
/* oklch */ color: oklch(63.4% 0.180 358.0);
Tailwind
colors: {
  custom: {
    50: '#eb89ac',
    500: '#db518a',
    950: '#000000',
  },
}
SCSS
$custom: #db518a;
$custom-light: #eb89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#db518a",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 335.217,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63429,
    "c": 0.17999,
    "h": 358
  },
  "luminance": 0.2278
}

Semantic roles & 50–950 ramp

primary
#DB518A
secondary
#A9DFC9
accent
#E9A33F
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #DB518A

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

Preview Lab → · Contrast checker → · Palette generator →

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