#D4317F#D4317F

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

Color values

HEX#D4317F
RGBrgb(212, 49, 127)
HSLhsl(331, 65%, 51%)
HSVhsv(331, 77%, 83%)
CMYKcmyk(0%, 76.9%, 40.1%, 16.9%)
CIE-LABlab(49.17, 67.24, -4.66)
CIE-LCHlch(49.17, 67.40, 356.04°)
OKLaboklab(58.9% 0.2067 -0.0114)
OKLCHoklch(58.9% 0.207 356.8)
XYZxyz(32.0828, 17.7301, 21.8074)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4317F #31D486
analogous
#D431D1 #D4317F #D43431
triadic
#D4317F #7FD431 #317FD4
tetradic
#D4317F #D1D431 #31D486 #3431D4
square
#D4317F #D1D431 #31D486 #3431D4
split-complementary
#D4317F #31D434 #31D1D4
monochromatic
#731843 #A52361 #D4317F #DF649E #E996BE

Accessibility & contrast

On white

4.62
#D4317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#D4317F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D4317F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4317F#FFFFFF#000000##FFFFFF
##D4317F1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4317f;
/* rgb */ color: rgb(212, 49, 127);
/* oklch */ color: oklch(58.9% 0.207 356.8);
Tailwind
colors: {
  custom: {
    50: '#e779a4',
    500: '#d4317f',
    950: '#000000',
  },
}
SCSS
$custom: #d4317f;
$custom-light: #e779a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4317f",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 331.288,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.20704,
    "h": 356.8
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4317F

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

Preview Lab → · Contrast checker → · Palette generator →

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