#D5517E#D5517E

#D5517E is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.2% C 0.170 H 2.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D5517E
RGBrgb(213, 81, 126)
HSLhsl(340, 61%, 58%)
HSVhsv(340, 62%, 84%)
CMYKcmyk(0%, 62%, 40.8%, 16.5%)
CIE-LABlab(53.54, 55.73, 2.37)
CIE-LCHlch(53.54, 55.78, 2.43°)
OKLaboklab(62.15% 0.1702 0.0068)
OKLCHoklch(62.15% 0.17 2.3)
XYZxyz(34.1511, 21.5413, 22.0940)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5517E #51D5A8
analogous
#D551C0 #D5517E #D56651
triadic
#D5517E #7ED551 #517ED5
tetradic
#D5517E #C0D551 #51D5A8 #6651D5
square
#D5517E #C0D551 #51D5A8 #6651D5
split-complementary
#D5517E #51D566 #51C0D5
monochromatic
#8A2145 #BC2D5E #D5517E #E182A3 #EDB4C7

Accessibility & contrast

On white

3.96
#D5517E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D5517E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5517E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5517E#FFFFFF#000000##000000
##D5517E1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A707F
Deuteranopia (green-blind)
#8D897B
Tritanopia (blue-blind)
#E64262
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d5517e;
/* rgb */ color: rgb(213, 81, 126);
/* oklch */ color: oklch(62.2% 0.170 2.3);
Tailwind
colors: {
  custom: {
    50: '#e688a3',
    500: '#d5517e',
    950: '#000000',
  },
}
SCSS
$custom: #d5517e;
$custom-light: #e688a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d5517e",
  "rgb": {
    "r": 213,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 339.545,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62154,
    "c": 0.17031,
    "h": 2.3
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#D5517E
secondary
#A6DBC9
accent
#E4AD44
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D5517E

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

Preview Lab → · Contrast checker → · Palette generator →

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