#DC517A#DC517A

#DC517A is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.1% C 0.176 H 5.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#DC517A
RGBrgb(220, 81, 122)
HSLhsl(342, 67%, 59%)
HSVhsv(342, 63%, 86%)
CMYKcmyk(0%, 63.2%, 44.5%, 13.7%)
CIE-LABlab(54.56, 57.52, 6.37)
CIE-LCHlch(54.56, 57.87, 6.32°)
OKLaboklab(63.1% 0.1754 0.017)
OKLCHoklch(63.1% 0.176 5.5)
XYZxyz(35.9731, 22.5100, 20.8591)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC517A #51DCB3
analogous
#DC51C0 #DC517A #DC6E51
triadic
#DC517A #7ADC51 #517ADC
tetradic
#DC517A #C0DC51 #51DCB3 #6E51DC
square
#DC517A #C0DC51 #51DCB3 #6E51DC
split-complementary
#DC517A #51DC6E #51C0DC
monochromatic
#951E41 #C82857 #DC517A #E684A1 #F0B7C8

Accessibility & contrast

On white

3.82
#DC517A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#DC517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC517A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC517A#FFFFFF#000000##000000
##DC517A1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E717B
Deuteranopia (green-blind)
#928D77
Tritanopia (blue-blind)
#EE3F61
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc517a;
/* rgb */ color: rgb(220, 81, 122);
/* oklch */ color: oklch(63.1% 0.176 5.5);
Tailwind
colors: {
  custom: {
    50: '#ec89a0',
    500: '#dc517a',
    950: '#000000',
  },
}
SCSS
$custom: #dc517a;
$custom-light: #ec89a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc517a",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 342.302,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63101,
    "c": 0.17618,
    "h": 5.5
  },
  "luminance": 0.22506
}

Semantic roles & 50–950 ramp

primary
#DC517A
secondary
#A9E0D0
accent
#E9B73E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DC517A

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

Preview Lab → · Contrast checker → · Palette generator →

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