#D42E47#D42E47

#D42E47 is a mid, highly saturated red. Relative luminance 0.164; OKLCH L 57.2% C 0.200 H 18.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D42E47
RGBrgb(212, 46, 71)
HSLhsl(351, 66%, 51%)
HSVhsv(351, 78%, 83%)
CMYKcmyk(0%, 78.3%, 66.5%, 16.9%)
CIE-LABlab(47.51, 63.90, 27.20)
CIE-LCHlch(47.51, 69.45, 23.06°)
OKLaboklab(57.24% 0.1894 0.0642)
OKLCHoklch(57.24% 0.2 18.7)
XYZxyz(29.2690, 16.4105, 7.5864)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42E47 #2ED4BB
analogous
#D42E9A #D42E47 #D4682E
triadic
#D42E47 #47D42E #2E47D4
tetradic
#D42E47 #9AD42E #2ED4BB #682ED4
square
#D42E47 #9AD42E #2ED4BB #682ED4
split-complementary
#D42E47 #2ED468 #2E9AD4
monochromatic
#701725 #A32235 #D42E47 #DE6174 #E994A0

Accessibility & contrast

On white

4.91
#D42E47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#D42E47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42E47
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42E47#FFFFFF#000000##FFFFFF
##D42E471.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A47
Deuteranopia (green-blind)
#897D42
Tritanopia (blue-blind)
#E90039
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42e47;
/* rgb */ color: rgb(212, 46, 71);
/* oklch */ color: oklch(57.2% 0.200 18.7);
Tailwind
colors: {
  custom: {
    50: '#ea767a',
    500: '#d42e47',
    950: '#000000',
  },
}
SCSS
$custom: #d42e47;
$custom-light: #ea767a;
$custom-dark: #000000;
JSON
{
  "hex": "#d42e47",
  "rgb": {
    "r": 212,
    "g": 46,
    "b": 71
  },
  "hsl": {
    "h": 350.964,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.20001,
    "h": 18.7
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#D42E47
secondary
#8AD4C9
accent
#E9CF3F
background
#FFF7F7
surface
#FFEEED
border
#D7C9C8
text
#180A09
muted
#867C7B

Preview Lab

Preview with #D42E47

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

Preview Lab → · Contrast checker → · Palette generator →

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