#D3517F#D3517F

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

Color values

HEX#D3517F
RGBrgb(211, 81, 127)
HSLhsl(339, 60%, 57%)
HSVhsv(339, 62%, 83%)
CMYKcmyk(0%, 61.6%, 39.8%, 17.3%)
CIE-LABlab(53.24, 55.21, 1.30)
CIE-LCHlch(53.24, 55.23, 1.35°)
OKLaboklab(61.88% 0.1686 0.0041)
OKLCHoklch(61.88% 0.169 1.4)
XYZxyz(33.6393, 21.2699, 22.4085)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3517F #51D3A5
analogous
#D351C0 #D3517F #D36451
triadic
#D3517F #7FD351 #517FD3
tetradic
#D3517F #C0D351 #51D3A5 #6451D3
square
#D3517F #C0D351 #51D3A5 #6451D3
split-complementary
#D3517F #51D364 #51C0D3
monochromatic
#872246 #B82F5F #D3517F #DF82A3 #ECB3C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3517F#FFFFFF#000000##000000
##D3517F1.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)
#696F80
Deuteranopia (green-blind)
#8C887C
Tritanopia (blue-blind)
#E44363
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d3517f;
/* rgb */ color: rgb(211, 81, 127);
/* oklch */ color: oklch(61.9% 0.169 1.4);
Tailwind
colors: {
  custom: {
    50: '#e588a4',
    500: '#d3517f',
    950: '#000000',
  },
}
SCSS
$custom: #d3517f;
$custom-light: #e588a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d3517f",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 338.769,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.16865,
    "h": 1.4
  },
  "luminance": 0.21266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3517F

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

Preview Lab → · Contrast checker → · Palette generator →

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