#D5417F#D5417F

#D5417F is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.5% C 0.191 H 359.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D5417F
RGBrgb(213, 65, 127)
HSLhsl(335, 64%, 55%)
HSVhsv(335, 69%, 84%)
CMYKcmyk(0%, 69.5%, 40.4%, 16.5%)
CIE-LABlab(51.22, 62.24, -1.61)
CIE-LCHlch(51.22, 62.26, 358.52°)
OKLaboklab(60.45% 0.1908 -0.0034)
OKLCHoklch(60.45% 0.191 359)
XYZxyz(33.1639, 19.4631, 22.0849)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5417F #41D597
analogous
#D541C9 #D5417F #D54D41
triadic
#D5417F #7FD541 #417FD5
tetradic
#D5417F #C9D541 #41D597 #4D41D5
square
#D5417F #C9D541 #41D597 #4D41D5
split-complementary
#D5417F #41D54D #41C9D5
monochromatic
#7F1C46 #B22761 #D5417F #E073A1 #EBA5C3

Accessibility & contrast

On white

4.29
#D5417F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#D5417F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5417F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5417F#FFFFFF#000000##000000
##D5417F1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6881
Deuteranopia (green-blind)
#87847C
Tritanopia (blue-blind)
#E62F5B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d5417f;
/* rgb */ color: rgb(213, 65, 127);
/* oklch */ color: oklch(60.5% 0.191 359.0);
Tailwind
colors: {
  custom: {
    50: '#e780a4',
    500: '#d5417f',
    950: '#000000',
  },
}
SCSS
$custom: #d5417f;
$custom-light: #e780a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d5417f",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 334.865,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6045,
    "c": 0.1908,
    "h": 359
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

primary
#D5417F
secondary
#9AD8BE
accent
#E7A141
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D5417F

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

Preview Lab → · Contrast checker → · Palette generator →

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