#D4317E#D4317E

#D4317E is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 58.9% C 0.207 H 357.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#D4317E
RGBrgb(212, 49, 126)
HSLhsl(332, 65%, 51%)
HSVhsv(332, 77%, 83%)
CMYKcmyk(0%, 76.9%, 40.6%, 16.9%)
CIE-LABlab(49.14, 67.14, -4.10)
CIE-LCHlch(49.14, 67.27, 356.51°)
OKLaboklab(58.87% 0.2064 -0.0099)
OKLCHoklch(58.87% 0.207 357.2)
XYZxyz(32.0179, 17.7042, 21.4658)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4317E #31D487
analogous
#D431D0 #D4317E #D43531
triadic
#D4317E #7ED431 #317ED4
tetradic
#D4317E #D0D431 #31D487 #3531D4
square
#D4317E #D0D431 #31D487 #3531D4
split-complementary
#D4317E #31D435 #31D0D4
monochromatic
#731843 #A52360 #D4317E #DF649E #E996BD

Accessibility & contrast

On white

4.63
#D4317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#D4317E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D4317E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4317E#FFFFFF#000000##FFFFFF
##D4317E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556180
Deuteranopia (green-blind)
#81807A
Tritanopia (blue-blind)
#E51654
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d4317e;
/* rgb */ color: rgb(212, 49, 126);
/* oklch */ color: oklch(58.9% 0.207 357.2);
Tailwind
colors: {
  custom: {
    50: '#e779a3',
    500: '#d4317e',
    950: '#000000',
  },
}
SCSS
$custom: #d4317e;
$custom-light: #e779a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4317e",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 331.656,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.20667,
    "h": 357.2
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#D4317E
secondary
#8CD4B2
accent
#E8993F
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D4317E

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

Preview Lab → · Contrast checker → · Palette generator →

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