#DC517E#DC517E

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

Color values

HEX#DC517E
RGBrgb(220, 81, 126)
HSLhsl(341, 67%, 59%)
HSVhsv(341, 63%, 86%)
CMYKcmyk(0%, 63.2%, 42.7%, 13.7%)
CIE-LABlab(54.67, 57.91, 4.15)
CIE-LCHlch(54.67, 58.06, 4.09°)
OKLaboklab(63.21% 0.1768 0.0113)
OKLCHoklch(63.21% 0.177 3.7)
XYZxyz(36.2261, 22.6112, 22.1913)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC517E #51DCAF
analogous
#DC51C3 #DC517E #DC6A51
triadic
#DC517E #7EDC51 #517EDC
tetradic
#DC517E #C3DC51 #51DCAF #6A51DC
square
#DC517E #C3DC51 #51DCAF #6A51DC
split-complementary
#DC517E #51DC6A #51C3DC
monochromatic
#951E44 #C8285C #DC517E #E684A4 #F0B7CA

Accessibility & contrast

On white

3.80
#DC517E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC517E#FFFFFF#000000##000000
##DC517E1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D727F
Deuteranopia (green-blind)
#928D7B
Tritanopia (blue-blind)
#EE4063
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc517e;
/* rgb */ color: rgb(220, 81, 126);
/* oklch */ color: oklch(63.2% 0.177 3.7);
Tailwind
colors: {
  custom: {
    50: '#ec89a3',
    500: '#dc517e',
    950: '#000000',
  },
}
SCSS
$custom: #dc517e;
$custom-light: #ec89a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc517e",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 340.576,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63214,
    "c": 0.17714,
    "h": 3.7
  },
  "luminance": 0.22607
}

Semantic roles & 50–950 ramp

primary
#DC517E
secondary
#A9E0CE
accent
#E9B23E
background
#FFF8FA
surface
#FEF0F3
border
#D6CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #DC517E

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

Preview Lab → · Contrast checker → · Palette generator →

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