#D7517C#D7517C

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

Color values

HEX#D7517C
RGBrgb(215, 81, 124)
HSLhsl(341, 63%, 58%)
HSVhsv(341, 62%, 84%)
CMYKcmyk(0%, 62.3%, 42.3%, 15.7%)
CIE-LABlab(53.80, 56.15, 3.98)
CIE-LCHlch(53.80, 56.30, 4.06°)
OKLaboklab(62.4% 0.1714 0.0109)
OKLCHoklch(62.4% 0.172 3.6)
XYZxyz(34.6072, 21.7912, 21.4485)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7517C #51D7AC
analogous
#D751BF #D7517C #D76951
triadic
#D7517C #7CD751 #517CD7
tetradic
#D7517C #BFD751 #51D7AC #6951D7
square
#D7517C #BFD751 #51D7AC #6951D7
split-complementary
#D7517C #51D769 #51BFD7
monochromatic
#8D2043 #BF2C5B #D7517C #E283A1 #EEB5C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7517C#FFFFFF#000000##000000
##D7517C1.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)
#6C707D
Deuteranopia (green-blind)
#8F8A79
Tritanopia (blue-blind)
#E84162
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d7517c;
/* rgb */ color: rgb(215, 81, 124);
/* oklch */ color: oklch(62.4% 0.172 3.6);
Tailwind
colors: {
  custom: {
    50: '#e889a1',
    500: '#d7517c',
    950: '#000000',
  },
}
SCSS
$custom: #d7517c;
$custom-light: #e889a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7517c",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 340.746,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62398,
    "c": 0.17172,
    "h": 3.6
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7517C

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

Preview Lab → · Contrast checker → · Palette generator →

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