#D5417E#D5417E

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

Color values

HEX#D5417E
RGBrgb(213, 65, 126)
HSLhsl(335, 64%, 55%)
HSVhsv(335, 69%, 84%)
CMYKcmyk(0%, 69.5%, 40.8%, 16.5%)
CIE-LABlab(51.19, 62.14, -1.05)
CIE-LCHlch(51.19, 62.15, 359.03°)
OKLaboklab(60.42% 0.1905 -0.002)
OKLCHoklch(60.42% 0.19 359.4)
XYZxyz(33.0991, 19.4372, 21.7434)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5417E #41D598
analogous
#D541C8 #D5417E #D54E41
triadic
#D5417E #7ED541 #417ED5
tetradic
#D5417E #C8D541 #41D598 #4E41D5
square
#D5417E #C8D541 #41D598 #4E41D5
split-complementary
#D5417E #41D54E #41C8D5
monochromatic
#7F1C45 #B22760 #D5417E #E073A0 #EBA5C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5417E#FFFFFF#000000##000000
##D5417E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5417e;
/* rgb */ color: rgb(213, 65, 126);
/* oklch */ color: oklch(60.4% 0.190 359.4);
Tailwind
colors: {
  custom: {
    50: '#e780a3',
    500: '#d5417e',
    950: '#000000',
  },
}
SCSS
$custom: #d5417e;
$custom-light: #e780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d5417e",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 335.27,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.19046,
    "h": 359.4
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5417E

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

Preview Lab → · Contrast checker → · Palette generator →

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