#DC517C#DC517C

#DC517C is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.2% C 0.177 H 4.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#DC517C
RGBrgb(220, 81, 124)
HSLhsl(341, 67%, 59%)
HSVhsv(341, 63%, 86%)
CMYKcmyk(0%, 63.2%, 43.6%, 13.7%)
CIE-LABlab(54.62, 57.71, 5.26)
CIE-LCHlch(54.62, 57.95, 5.20°)
OKLaboklab(63.16% 0.1761 0.0142)
OKLCHoklch(63.16% 0.177 4.6)
XYZxyz(36.0983, 22.5601, 21.5184)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC517C #51DCB1
analogous
#DC51C2 #DC517C #DC6C51
triadic
#DC517C #7CDC51 #517CDC
tetradic
#DC517C #C2DC51 #51DCB1 #6C51DC
square
#DC517C #C2DC51 #51DCB1 #6C51DC
split-complementary
#DC517C #51DC6C #51C2DC
monochromatic
#951E43 #C82859 #DC517C #E684A2 #F0B7C9

Accessibility & contrast

On white

3.81
#DC517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#DC517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC517C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC517C#FFFFFF#000000##000000
##DC517C1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D717D
Deuteranopia (green-blind)
#928D79
Tritanopia (blue-blind)
#EE3F62
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc517c;
/* rgb */ color: rgb(220, 81, 124);
/* oklch */ color: oklch(63.2% 0.177 4.6);
Tailwind
colors: {
  custom: {
    50: '#ec89a1',
    500: '#dc517c',
    950: '#000000',
  },
}
SCSS
$custom: #dc517c;
$custom-light: #ec89a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc517c",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 341.439,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63157,
    "c": 0.17664,
    "h": 4.6
  },
  "luminance": 0.22556
}

Semantic roles & 50–950 ramp

primary
#DC517C
secondary
#A9E0CF
accent
#E9B53E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #DC517C

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

Preview Lab → · Contrast checker → · Palette generator →

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