#DB518C#DB518C

#DB518C is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.5% C 0.181 H 357.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DB518C
RGBrgb(219, 81, 140)
HSLhsl(334, 66%, 59%)
HSVhsv(334, 63%, 86%)
CMYKcmyk(0%, 63%, 36.1%, 14.1%)
CIE-LABlab(54.91, 59.08, -3.81)
CIE-LCHlch(54.91, 59.20, 356.31°)
OKLaboklab(63.49% 0.1805 -0.0093)
OKLCHoklch(63.49% 0.181 357.1)
XYZxyz(36.8916, 22.8425, 27.2721)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB518C #51DBA0
analogous
#DB51D1 #DB518C #DB5B51
triadic
#DB518C #8CDB51 #518CDB
tetradic
#DB518C #D1DB51 #51DBA0 #5B51DB
square
#DB518C #D1DB51 #51DBA0 #5B51DB
split-complementary
#DB518C #51DB5B #51D1DB
monochromatic
#931E50 #C6296C #DB518C #E584AE #F0B6CF

Accessibility & contrast

On white

3.77
#DB518C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DB518C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB518C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB518C#FFFFFF#000000##000000
##DB518C1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#69738E
Deuteranopia (green-blind)
#8E8D89
Tritanopia (blue-blind)
#EC4569
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db518c;
/* rgb */ color: rgb(219, 81, 140);
/* oklch */ color: oklch(63.5% 0.181 357.1);
Tailwind
colors: {
  custom: {
    50: '#ea89ad',
    500: '#db518c',
    950: '#000000',
  },
}
SCSS
$custom: #db518c;
$custom-light: #ea89ad;
$custom-dark: #000000;
JSON
{
  "hex": "#db518c",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 334.348,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.18076,
    "h": 357.1
  },
  "luminance": 0.22838
}

Semantic roles & 50–950 ramp

primary
#DB518C
secondary
#A9DFC8
accent
#E9A03F
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #DB518C

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

Preview Lab → · Contrast checker → · Palette generator →

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