#D0517E#D0517E

#D0517E is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.165 H 1.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D0517E
RGBrgb(208, 81, 126)
HSLhsl(339, 57%, 57%)
HSVhsv(339, 61%, 82%)
CMYKcmyk(0%, 61.1%, 39.4%, 18.4%)
CIE-LABlab(52.74, 54.16, 1.10)
CIE-LCHlch(52.74, 54.17, 1.17°)
OKLaboklab(61.4% 0.1654 0.0035)
OKLCHoklch(61.4% 0.165 1.2)
XYZxyz(32.7228, 20.8048, 22.0271)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0517E #51D0A3
analogous
#D051BE #D0517E #D06451
triadic
#D0517E #7ED051 #517ED0
tetradic
#D0517E #BED051 #51D0A3 #6451D0
square
#D0517E #BED051 #51D0A3 #6451D0
split-complementary
#D0517E #51D064 #51BED0
monochromatic
#832345 #B3305F #D0517E #DD81A2 #EAB1C5

Accessibility & contrast

On white

4.07
#D0517E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D0517E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0517E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0517E#FFFFFF#000000##000000
##D0517E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#696F7F
Deuteranopia (green-blind)
#8A877B
Tritanopia (blue-blind)
#E04462
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d0517e;
/* rgb */ color: rgb(208, 81, 126);
/* oklch */ color: oklch(61.4% 0.165 1.2);
Tailwind
colors: {
  custom: {
    50: '#e388a3',
    500: '#d0517e',
    950: '#000000',
  },
}
SCSS
$custom: #d0517e;
$custom-light: #e388a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d0517e",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 338.74,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.1654,
    "h": 1.2
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#D0517E
secondary
#A4D8C6
accent
#E1AA47
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D0517E

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

Preview Lab → · Contrast checker → · Palette generator →

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