#D5417C#D5417C

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

Color values

HEX#D5417C
RGBrgb(213, 65, 124)
HSLhsl(336, 64%, 55%)
HSVhsv(336, 69%, 84%)
CMYKcmyk(0%, 69.5%, 41.8%, 16.5%)
CIE-LABlab(51.14, 61.94, 0.07)
CIE-LCHlch(51.14, 61.94, 0.06°)
OKLaboklab(60.36% 0.1898 0.0009)
OKLCHoklch(60.36% 0.19 0.3)
XYZxyz(32.9713, 19.3861, 21.0705)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5417C #41D59A
analogous
#D541C6 #D5417C #D55041
triadic
#D5417C #7CD541 #417CD5
tetradic
#D5417C #C6D541 #41D59A #5041D5
square
#D5417C #C6D541 #41D59A #5041D5
split-complementary
#D5417C #41D550 #41C6D5
monochromatic
#7F1C44 #B2275E #D5417C #E0739F #EBA5C1

Accessibility & contrast

On white

4.31
#D5417C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5417C#FFFFFF#000000##000000
##D5417C1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F687E
Deuteranopia (green-blind)
#878479
Tritanopia (blue-blind)
#E72E59
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d5417c;
/* rgb */ color: rgb(213, 65, 124);
/* oklch */ color: oklch(60.4% 0.190 0.3);
Tailwind
colors: {
  custom: {
    50: '#e780a1',
    500: '#d5417c',
    950: '#000000',
  },
}
SCSS
$custom: #d5417c;
$custom-light: #e780a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d5417c",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 336.081,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.1898,
    "h": 0.3
  },
  "luminance": 0.19382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5417C

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

Preview Lab → · Contrast checker → · Palette generator →

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