#D9517F#D9517F

#D9517F is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.8% C 0.174 H 2.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D9517F
RGBrgb(217, 81, 127)
HSLhsl(340, 64%, 58%)
HSVhsv(340, 63%, 85%)
CMYKcmyk(0%, 62.7%, 41.5%, 14.9%)
CIE-LABlab(54.21, 57.08, 2.83)
CIE-LCHlch(54.21, 57.15, 2.83°)
OKLaboklab(62.79% 0.1743 0.008)
OKLCHoklch(62.79% 0.174 2.6)
XYZxyz(35.3909, 22.1730, 22.4906)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9517F #51D9AB
analogous
#D951C3 #D9517F #D96751
triadic
#D9517F #7FD951 #517FD9
tetradic
#D9517F #C3D951 #51D9AB #6751D9
square
#D9517F #C3D951 #51D9AB #6751D9
split-complementary
#D9517F #51D967 #51C3D9
monochromatic
#901F46 #C22A5E #D9517F #E483A4 #EFB5C9

Accessibility & contrast

On white

3.86
#D9517F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D9517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9517F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9517F#FFFFFF#000000##000000
##D9517F1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7180
Deuteranopia (green-blind)
#908B7C
Tritanopia (blue-blind)
#EB4163
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d9517f;
/* rgb */ color: rgb(217, 81, 127);
/* oklch */ color: oklch(62.8% 0.174 2.6);
Tailwind
colors: {
  custom: {
    50: '#e989a4',
    500: '#d9517f',
    950: '#000000',
  },
}
SCSS
$custom: #d9517f;
$custom-light: #e989a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9517f",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 339.706,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62788,
    "c": 0.17449,
    "h": 2.6
  },
  "luminance": 0.22169
}

Semantic roles & 50–950 ramp

primary
#D9517F
secondary
#A8DECC
accent
#E7AF41
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D9517F

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

Preview Lab → · Contrast checker → · Palette generator →

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