#D5417D#D5417D

#D5417D is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.4% C 0.190 H 359.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D5417D
RGBrgb(213, 65, 125)
HSLhsl(336, 64%, 55%)
HSVhsv(336, 69%, 84%)
CMYKcmyk(0%, 69.5%, 41.3%, 16.5%)
CIE-LABlab(51.17, 62.04, -0.49)
CIE-LCHlch(51.17, 62.04, 359.55°)
OKLaboklab(60.39% 0.1901 -0.0005)
OKLCHoklch(60.39% 0.19 359.8)
XYZxyz(33.0349, 19.4115, 21.4052)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5417D #41D599
analogous
#D541C7 #D5417D #D54F41
triadic
#D5417D #7DD541 #417DD5
tetradic
#D5417D #C7D541 #41D599 #4F41D5
square
#D5417D #C7D541 #41D599 #4F41D5
split-complementary
#D5417D #41D54F #41C7D5
monochromatic
#7F1C44 #B2275F #D5417D #E0739F #EBA5C2

Accessibility & contrast

On white

4.30
#D5417D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D5417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5417D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5417D#FFFFFF#000000##000000
##D5417D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F687F
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#E62E5A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d5417d;
/* rgb */ color: rgb(213, 65, 125);
/* oklch */ color: oklch(60.4% 0.190 359.8);
Tailwind
colors: {
  custom: {
    50: '#e780a2',
    500: '#d5417d',
    950: '#000000',
  },
}
SCSS
$custom: #d5417d;
$custom-light: #e780a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d5417d",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 335.676,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.19012,
    "h": 359.8
  },
  "luminance": 0.19407
}

Semantic roles & 50–950 ramp

primary
#D5417D
secondary
#9AD8BF
accent
#E7A441
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D5417D

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

Preview Lab → · Contrast checker → · Palette generator →

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