#D0517F#D0517F

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

Color values

HEX#D0517F
RGBrgb(208, 81, 127)
HSLhsl(338, 57%, 57%)
HSVhsv(338, 61%, 82%)
CMYKcmyk(0%, 61.1%, 38.9%, 18.4%)
CIE-LABlab(52.76, 54.27, 0.55)
CIE-LCHlch(52.76, 54.27, 0.58°)
OKLaboklab(61.43% 0.1657 0.0021)
OKLCHoklch(61.43% 0.166 0.7)
XYZxyz(32.7877, 20.8307, 22.3686)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0517F #51D0A2
analogous
#D051BE #D0517F #D06351
triadic
#D0517F #7FD051 #517FD0
tetradic
#D0517F #BED051 #51D0A2 #6351D0
square
#D0517F #BED051 #51D0A2 #6351D0
split-complementary
#D0517F #51D063 #51BED0
monochromatic
#832346 #B33060 #D0517F #DD81A2 #EAB1C6

Accessibility & contrast

On white

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

On black

5.17
#D0517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0517F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0517F#FFFFFF#000000##000000
##D0517F1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#686F80
Deuteranopia (green-blind)
#8A877C
Tritanopia (blue-blind)
#E04463
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d0517f;
/* rgb */ color: rgb(208, 81, 127);
/* oklch */ color: oklch(61.4% 0.166 0.7);
Tailwind
colors: {
  custom: {
    50: '#e388a4',
    500: '#d0517f',
    950: '#000000',
  },
}
SCSS
$custom: #d0517f;
$custom-light: #e388a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d0517f",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 338.268,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61433,
    "c": 0.16571,
    "h": 0.7
  },
  "luminance": 0.20827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0517F

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

Preview Lab → · Contrast checker → · Palette generator →

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