#D5517F#D5517F

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

Color values

HEX#D5517F
RGBrgb(213, 81, 127)
HSLhsl(339, 61%, 58%)
HSVhsv(339, 62%, 84%)
CMYKcmyk(0%, 62%, 40.4%, 16.5%)
CIE-LABlab(53.56, 55.84, 1.81)
CIE-LCHlch(53.56, 55.87, 1.86°)
OKLaboklab(62.18% 0.1705 0.0054)
OKLCHoklch(62.18% 0.171 1.8)
XYZxyz(34.2160, 21.5672, 22.4356)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5517F #51D5A7
analogous
#D551C1 #D5517F #D56551
triadic
#D5517F #7FD551 #517FD5
tetradic
#D5517F #C1D551 #51D5A7 #6551D5
square
#D5517F #C1D551 #51D5A7 #6551D5
split-complementary
#D5517F #51D565 #51C1D5
monochromatic
#8A2146 #BC2D5F #D5517F #E182A3 #EDB4C8

Accessibility & contrast

On white

3.95
#D5517F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5517F#FFFFFF#000000##000000
##D5517F1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7080
Deuteranopia (green-blind)
#8D897C
Tritanopia (blue-blind)
#E64363
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d5517f;
/* rgb */ color: rgb(213, 81, 127);
/* oklch */ color: oklch(62.2% 0.171 1.8);
Tailwind
colors: {
  custom: {
    50: '#e688a4',
    500: '#d5517f',
    950: '#000000',
  },
}
SCSS
$custom: #d5517f;
$custom-light: #e688a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d5517f",
  "rgb": {
    "r": 213,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 339.091,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62184,
    "c": 0.1706,
    "h": 1.8
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5517F

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

Preview Lab → · Contrast checker → · Palette generator →

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