#D0517C#D0517C

#D0517C is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.165 H 2.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D0517C
RGBrgb(208, 81, 124)
HSLhsl(340, 57%, 57%)
HSVhsv(340, 61%, 82%)
CMYKcmyk(0%, 61.1%, 40.4%, 18.4%)
CIE-LABlab(52.68, 53.95, 2.21)
CIE-LCHlch(52.68, 53.99, 2.35°)
OKLaboklab(61.34% 0.1647 0.0064)
OKLCHoklch(61.34% 0.165 2.2)
XYZxyz(32.5950, 20.7537, 21.3542)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0517C #51D0A5
analogous
#D051BC #D0517C #D06651
triadic
#D0517C #7CD051 #517CD0
tetradic
#D0517C #BCD051 #51D0A5 #6651D0
square
#D0517C #BCD051 #51D0A5 #6651D0
split-complementary
#D0517C #51D066 #51BCD0
monochromatic
#832344 #B3305D #D0517C #DD81A0 #EAB1C5

Accessibility & contrast

On white

4.08
#D0517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D0517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0517C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0517C#FFFFFF#000000##000000
##D0517C1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#696E7D
Deuteranopia (green-blind)
#8B8779
Tritanopia (blue-blind)
#E14362
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d0517c;
/* rgb */ color: rgb(208, 81, 124);
/* oklch */ color: oklch(61.3% 0.165 2.2);
Tailwind
colors: {
  custom: {
    50: '#e388a1',
    500: '#d0517c',
    950: '#000000',
  },
}
SCSS
$custom: #d0517c;
$custom-light: #e388a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d0517c",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 339.685,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61342,
    "c": 0.16478,
    "h": 2.2
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#D0517C
secondary
#A4D8C7
accent
#E1AD47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #D0517C

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

Preview Lab → · Contrast checker → · Palette generator →

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