#D3517E#D3517E

#D3517E is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.168 H 1.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D3517E
RGBrgb(211, 81, 126)
HSLhsl(339, 60%, 57%)
HSVhsv(339, 62%, 83%)
CMYKcmyk(0%, 61.6%, 40.3%, 17.3%)
CIE-LABlab(53.22, 55.11, 1.86)
CIE-LCHlch(53.22, 55.14, 1.93°)
OKLaboklab(61.85% 0.1683 0.0055)
OKLCHoklch(61.85% 0.168 1.9)
XYZxyz(33.5745, 21.2439, 22.0670)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3517E #51D3A6
analogous
#D351BF #D3517E #D36551
triadic
#D3517E #7ED351 #517ED3
tetradic
#D3517E #BFD351 #51D3A6 #6551D3
square
#D3517E #BFD351 #51D3A6 #6551D3
split-complementary
#D3517E #51D365 #51BFD3
monochromatic
#872245 #B82F5E #D3517E #DF82A2 #ECB3C6

Accessibility & contrast

On white

4.00
#D3517E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#D3517E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D3517E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3517E#FFFFFF#000000##000000
##D3517E1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6F7F
Deuteranopia (green-blind)
#8C887B
Tritanopia (blue-blind)
#E44362
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d3517e;
/* rgb */ color: rgb(211, 81, 126);
/* oklch */ color: oklch(61.9% 0.168 1.9);
Tailwind
colors: {
  custom: {
    50: '#e588a3',
    500: '#d3517e',
    950: '#000000',
  },
}
SCSS
$custom: #d3517e;
$custom-light: #e588a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d3517e",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 339.231,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.16834,
    "h": 1.9
  },
  "luminance": 0.2124
}

Semantic roles & 50–950 ramp

primary
#D3517E
secondary
#A6DAC8
accent
#E3AC45
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D3517E

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

Preview Lab → · Contrast checker → · Palette generator →

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