#DC518A#DC518A

#DC518A is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.6% C 0.181 H 358.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#DC518A
RGBrgb(220, 81, 138)
HSLhsl(335, 67%, 59%)
HSVhsv(335, 63%, 86%)
CMYKcmyk(0%, 63.2%, 37.3%, 13.7%)
CIE-LABlab(55.01, 59.16, -2.46)
CIE-LCHlch(55.01, 59.21, 357.61°)
OKLaboklab(63.58% 0.1808 -0.0057)
OKLCHoklch(63.58% 0.181 358.2)
XYZxyz(37.0473, 22.9397, 26.5166)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC518A #51DCA3
analogous
#DC51CF #DC518A #DC5E51
triadic
#DC518A #8ADC51 #518ADC
tetradic
#DC518A #CFDC51 #51DCA3 #5E51DC
square
#DC518A #CFDC51 #51DCA3 #5E51DC
split-complementary
#DC518A #51DC5E #51CFDC
monochromatic
#951E4F #C8286A #DC518A #E684AC #F0B7CF

Accessibility & contrast

On white

3.76
#DC518A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#DC518A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC518A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC518A#FFFFFF#000000##000000
##DC518A1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A738C
Deuteranopia (green-blind)
#8F8D87
Tritanopia (blue-blind)
#ED4468
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dc518a;
/* rgb */ color: rgb(220, 81, 138);
/* oklch */ color: oklch(63.6% 0.181 358.2);
Tailwind
colors: {
  custom: {
    50: '#eb89ac',
    500: '#dc518a',
    950: '#000000',
  },
}
SCSS
$custom: #dc518a;
$custom-light: #eb89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dc518a",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 335.396,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63579,
    "c": 0.18091,
    "h": 358.2
  },
  "luminance": 0.22935
}

Semantic roles & 50–950 ramp

primary
#DC518A
secondary
#A9E0C9
accent
#E9A33E
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #DC518A

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

Preview Lab → · Contrast checker → · Palette generator →

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