#DC517B#DC517B

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

Color values

HEX#DC517B
RGBrgb(220, 81, 123)
HSLhsl(342, 67%, 59%)
HSVhsv(342, 63%, 86%)
CMYKcmyk(0%, 63.2%, 44.1%, 13.7%)
CIE-LABlab(54.59, 57.61, 5.81)
CIE-LCHlch(54.59, 57.91, 5.76°)
OKLaboklab(63.13% 0.1757 0.0156)
OKLCHoklch(63.13% 0.176 5.1)
XYZxyz(36.0354, 22.5349, 21.1871)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC517B #51DCB2
analogous
#DC51C0 #DC517B #DC6D51
triadic
#DC517B #7BDC51 #517BDC
tetradic
#DC517B #C0DC51 #51DCB2 #6D51DC
square
#DC517B #C0DC51 #51DCB2 #6D51DC
split-complementary
#DC517B #51DC6D #51C0DC
monochromatic
#951E42 #C82858 #DC517B #E684A2 #F0B7C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC517B#FFFFFF#000000##000000
##DC517B1.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)
#6E717C
Deuteranopia (green-blind)
#928D78
Tritanopia (blue-blind)
#EE3F61
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc517b;
/* rgb */ color: rgb(220, 81, 123);
/* oklch */ color: oklch(63.1% 0.176 5.1);
Tailwind
colors: {
  custom: {
    50: '#ec89a1',
    500: '#dc517b',
    950: '#000000',
  },
}
SCSS
$custom: #dc517b;
$custom-light: #ec89a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc517b",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 341.871,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63129,
    "c": 0.1764,
    "h": 5.1
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#DC517B
secondary
#A9E0CF
accent
#E9B63E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DC517B

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

Preview Lab → · Contrast checker → · Palette generator →

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