#D4315B#D4315B

#D4315B is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.9% C 0.198 H 11.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D4315B
RGBrgb(212, 49, 91)
HSLhsl(345, 65%, 51%)
HSVhsv(345, 77%, 83%)
CMYKcmyk(0%, 76.9%, 57.1%, 16.9%)
CIE-LABlab(48.20, 64.24, 15.93)
CIE-LCHlch(48.20, 66.18, 13.93°)
OKLaboklab(57.88% 0.1943 0.0398)
OKLCHoklch(57.88% 0.198 11.6)
XYZxyz(30.1410, 16.9534, 11.5807)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4315B #31D4AA
analogous
#D431AC #D4315B #D45831
triadic
#D4315B #5BD431 #315BD4
tetradic
#D4315B #ACD431 #31D4AA #5831D4
square
#D4315B #ACD431 #31D4AA #5831D4
split-complementary
#D4315B #31D458 #31ACD4
monochromatic
#73182F #A52344 #D4315B #DF6483 #E996AC

Accessibility & contrast

On white

4.78
#D4315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#D4315B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4315B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4315B#FFFFFF#000000##FFFFFF
##D4315B1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5D5C
Deuteranopia (green-blind)
#887E57
Tritanopia (blue-blind)
#E80043
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4315b;
/* rgb */ color: rgb(212, 49, 91);
/* oklch */ color: oklch(57.9% 0.198 11.6);
Tailwind
colors: {
  custom: {
    50: '#e87889',
    500: '#d4315b',
    950: '#000000',
  },
}
SCSS
$custom: #d4315b;
$custom-light: #e87889;
$custom-dark: #000000;
JSON
{
  "hex": "#d4315b",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 344.54,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.19828,
    "h": 11.6
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#D4315B
secondary
#8CD4C2
accent
#E8BD3F
background
#FFF7F8
surface
#FFEEEF
border
#D7C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #D4315B

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

Preview Lab → · Contrast checker → · Palette generator →

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