#D4315C#D4315C

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

Color values

HEX#D4315C
RGBrgb(212, 49, 92)
HSLhsl(344, 65%, 51%)
HSVhsv(344, 77%, 83%)
CMYKcmyk(0%, 76.9%, 56.6%, 16.9%)
CIE-LABlab(48.22, 64.30, 15.35)
CIE-LCHlch(48.22, 66.11, 13.43°)
OKLaboklab(57.9% 0.1946 0.0384)
OKLCHoklch(57.9% 0.198 11.2)
XYZxyz(30.1844, 16.9708, 11.8094)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4315C #31D4A9
analogous
#D431AD #D4315C #D45731
triadic
#D4315C #5CD431 #315CD4
tetradic
#D4315C #ADD431 #31D4A9 #5731D4
square
#D4315C #ADD431 #31D4A9 #5731D4
split-complementary
#D4315C #31D457 #31ADD4
monochromatic
#731830 #A52345 #D4315C #DF6484 #E996AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4315C#FFFFFF#000000##FFFFFF
##D4315C1.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)
#5D5D5D
Deuteranopia (green-blind)
#877E58
Tritanopia (blue-blind)
#E80043
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4315c;
/* rgb */ color: rgb(212, 49, 92);
/* oklch */ color: oklch(57.9% 0.198 11.2);
Tailwind
colors: {
  custom: {
    50: '#e87889',
    500: '#d4315c',
    950: '#000000',
  },
}
SCSS
$custom: #d4315c;
$custom-light: #e87889;
$custom-dark: #000000;
JSON
{
  "hex": "#d4315c",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 344.172,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.19839,
    "h": 11.2
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#D4315C
secondary
#8CD4C1
accent
#E8BC3F
background
#FFF7F8
surface
#FFEEF0
border
#D7C9CB
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #D4315C

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

Preview Lab → · Contrast checker → · Palette generator →

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