#D9417C#D9417C

#D9417C is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.193 H 1.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D9417C
RGBrgb(217, 65, 124)
HSLhsl(337, 67%, 55%)
HSVhsv(337, 70%, 85%)
CMYKcmyk(0%, 70%, 42.9%, 14.9%)
CIE-LABlab(51.83, 63.08, 1.16)
CIE-LCHlch(51.83, 63.09, 1.05°)
OKLaboklab(61% 0.1933 0.0037)
OKLCHoklch(61% 0.193 1.1)
XYZxyz(34.1462, 19.9918, 21.1256)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9417C #41D99E
analogous
#D941C8 #D9417C #D95241
triadic
#D9417C #7CD941 #417CD9
tetradic
#D9417C #C8D941 #41D99E #5241D9
square
#D9417C #C8D941 #41D99E #5241D9
split-complementary
#D9417C #41D952 #41C8D9
monochromatic
#851B44 #B8255E #D9417C #E3749F #EDA7C2

Accessibility & contrast

On white

4.20
#D9417C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D9417C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9417C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9417C#FFFFFF#000000##000000
##D9417C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697D
Deuteranopia (green-blind)
#8A8678
Tritanopia (blue-blind)
#EB2B5A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d9417c;
/* rgb */ color: rgb(217, 65, 124);
/* oklch */ color: oklch(61.0% 0.193 1.1);
Tailwind
colors: {
  custom: {
    50: '#ea81a1',
    500: '#d9417c',
    950: '#000000',
  },
}
SCSS
$custom: #d9417c;
$custom-light: #ea81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9417c",
  "rgb": {
    "r": 217,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 336.711,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60995,
    "c": 0.19331,
    "h": 1.1
  },
  "luminance": 0.19988
}

Semantic roles & 50–950 ramp

primary
#D9417C
secondary
#9BDBC2
accent
#EAA73E
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D9417C

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

Preview Lab → · Contrast checker → · Palette generator →

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