#D4517F#D4517F

#D4517F is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.0% C 0.170 H 1.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#D4517F
RGBrgb(212, 81, 127)
HSLhsl(339, 60%, 57%)
HSVhsv(339, 62%, 83%)
CMYKcmyk(0%, 61.8%, 40.1%, 16.9%)
CIE-LABlab(53.40, 55.53, 1.56)
CIE-LCHlch(53.40, 55.55, 1.61°)
OKLaboklab(62.03% 0.1696 0.0047)
OKLCHoklch(62.03% 0.17 1.6)
XYZxyz(33.9268, 21.4181, 22.4220)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4517F #51D4A6
analogous
#D451C1 #D4517F #D46451
triadic
#D4517F #7FD451 #517FD4
tetradic
#D4517F #C1D451 #51D4A6 #6451D4
square
#D4517F #C1D451 #51D4A6 #6451D4
split-complementary
#D4517F #51D464 #51C1D4
monochromatic
#892246 #BA2E5F #D4517F #E082A3 #ECB3C7

Accessibility & contrast

On white

3.98
#D4517F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#D4517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4517F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4517F#FFFFFF#000000##000000
##D4517F1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7080
Deuteranopia (green-blind)
#8C897C
Tritanopia (blue-blind)
#E54363
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d4517f;
/* rgb */ color: rgb(212, 81, 127);
/* oklch */ color: oklch(62.0% 0.170 1.6);
Tailwind
colors: {
  custom: {
    50: '#e688a4',
    500: '#d4517f',
    950: '#000000',
  },
}
SCSS
$custom: #d4517f;
$custom-light: #e688a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4517f",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 338.931,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62033,
    "c": 0.16963,
    "h": 1.6
  },
  "luminance": 0.21414
}

Semantic roles & 50–950 ramp

primary
#D4517F
secondary
#A6DBC8
accent
#E4AC44
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D4517F

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

Preview Lab → · Contrast checker → · Palette generator →

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