#DC517F#DC517F

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

Color values

HEX#DC517F
RGBrgb(220, 81, 127)
HSLhsl(340, 67%, 59%)
HSVhsv(340, 63%, 86%)
CMYKcmyk(0%, 63.2%, 42.3%, 13.7%)
CIE-LABlab(54.70, 58.01, 3.59)
CIE-LCHlch(54.70, 58.12, 3.54°)
OKLaboklab(63.24% 0.1771 0.0099)
OKLCHoklch(63.24% 0.177 3.2)
XYZxyz(36.2909, 22.6371, 22.5328)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC517F #51DCAE
analogous
#DC51C5 #DC517F #DC6951
triadic
#DC517F #7FDC51 #517FDC
tetradic
#DC517F #C5DC51 #51DCAE #6951DC
square
#DC517F #C5DC51 #51DCAE #6951DC
split-complementary
#DC517F #51DC69 #51C5DC
monochromatic
#951E45 #C8285D #DC517F #E684A4 #F0B7CA

Accessibility & contrast

On white

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

On black

5.53
#DC517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC517F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC517F#FFFFFF#000000##000000
##DC517F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc517f;
/* rgb */ color: rgb(220, 81, 127);
/* oklch */ color: oklch(63.2% 0.177 3.2);
Tailwind
colors: {
  custom: {
    50: '#ec89a3',
    500: '#dc517f',
    950: '#000000',
  },
}
SCSS
$custom: #dc517f;
$custom-light: #ec89a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc517f",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 340.144,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63243,
    "c": 0.17741,
    "h": 3.2
  },
  "luminance": 0.22633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC517F

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

Preview Lab → · Contrast checker → · Palette generator →

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