#D7517D#D7517D

#D7517D is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.4% C 0.172 H 3.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D7517D
RGBrgb(215, 81, 125)
HSLhsl(340, 63%, 58%)
HSVhsv(340, 62%, 84%)
CMYKcmyk(0%, 62.3%, 41.9%, 15.7%)
CIE-LABlab(53.83, 56.26, 3.43)
CIE-LCHlch(53.83, 56.36, 3.49°)
OKLaboklab(62.43% 0.1717 0.0095)
OKLCHoklch(62.43% 0.172 3.2)
XYZxyz(34.6708, 21.8166, 21.7833)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7517D #51D7AB
analogous
#D751C0 #D7517D #D76851
triadic
#D7517D #7DD751 #517DD7
tetradic
#D7517D #C0D751 #51D7AB #6851D7
square
#D7517D #C0D751 #51D7AB #6851D7
split-complementary
#D7517D #51D768 #51C0D7
monochromatic
#8D2044 #BF2C5C #D7517D #E283A2 #EEB5C7

Accessibility & contrast

On white

3.92
#D7517D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D7517D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7517D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7517D#FFFFFF#000000##000000
##D7517D1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B707E
Deuteranopia (green-blind)
#8F8A7A
Tritanopia (blue-blind)
#E84162
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d7517d;
/* rgb */ color: rgb(215, 81, 125);
/* oklch */ color: oklch(62.4% 0.172 3.2);
Tailwind
colors: {
  custom: {
    50: '#e889a2',
    500: '#d7517d',
    950: '#000000',
  },
}
SCSS
$custom: #d7517d;
$custom-light: #e889a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d7517d",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 340.299,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62427,
    "c": 0.17198,
    "h": 3.2
  },
  "luminance": 0.21813
}

Semantic roles & 50–950 ramp

primary
#D7517D
secondary
#A7DDCB
accent
#E6B042
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D7517D

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

Preview Lab → · Contrast checker → · Palette generator →

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