#DC517D#DC517D

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

Color values

HEX#DC517D
RGBrgb(220, 81, 125)
HSLhsl(341, 67%, 59%)
HSVhsv(341, 63%, 86%)
CMYKcmyk(0%, 63.2%, 43.2%, 13.7%)
CIE-LABlab(54.64, 57.81, 4.70)
CIE-LCHlch(54.64, 58.00, 4.65°)
OKLaboklab(63.19% 0.1764 0.0127)
OKLCHoklch(63.19% 0.177 4.1)
XYZxyz(36.1619, 22.5855, 21.8532)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC517D #51DCB0
analogous
#DC51C3 #DC517D #DC6B51
triadic
#DC517D #7DDC51 #517DDC
tetradic
#DC517D #C3DC51 #51DCB0 #6B51DC
square
#DC517D #C3DC51 #51DCB0 #6B51DC
split-complementary
#DC517D #51DC6B #51C3DC
monochromatic
#951E44 #C8285B #DC517D #E684A3 #F0B7C9

Accessibility & contrast

On white

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

On black

5.52
#DC517D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC517D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC517D#FFFFFF#000000##000000
##DC517D1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D727E
Deuteranopia (green-blind)
#928D7A
Tritanopia (blue-blind)
#EE4062
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc517d;
/* rgb */ color: rgb(220, 81, 125);
/* oklch */ color: oklch(63.2% 0.177 4.1);
Tailwind
colors: {
  custom: {
    50: '#ec89a2',
    500: '#dc517d',
    950: '#000000',
  },
}
SCSS
$custom: #dc517d;
$custom-light: #ec89a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc517d",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 341.007,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63186,
    "c": 0.17688,
    "h": 4.1
  },
  "luminance": 0.22581
}

Semantic roles & 50–950 ramp

primary
#DC517D
secondary
#A9E0CE
accent
#E9B33E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #DC517D

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

Preview Lab → · Contrast checker → · Palette generator →

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