#D42322#D42322

#D42322 is a mid, highly saturated red. Relative luminance 0.153; OKLCH L 56.0% C 0.210 H 27.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D42322
RGBrgb(212, 35, 34)
HSLhsl(0, 72%, 48%)
HSVhsv(0, 84%, 83%)
CMYKcmyk(0%, 83.5%, 84%, 16.9%)
CIE-LABlab(46.07, 65.33, 46.65)
CIE-LCHlch(46.07, 80.28, 35.53°)
OKLaboklab(56.03% 0.1862 0.0974)
OKLCHoklch(56.03% 0.21 27.6)
XYZxyz(28.0447, 15.3193, 2.9934)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42322 #22D3D4
analogous
#D4227A #D42322 #D47C22
triadic
#D42322 #22D423 #2322D4
tetradic
#D42322 #7AD422 #22D3D4 #7C22D4
square
#D42322 #7AD422 #22D3D4 #7C22D4
split-complementary
#D42322 #22D47C #227AD4
monochromatic
#6B1211 #9F1A1A #D42322 #E35150 #EB8685

Accessibility & contrast

On white

5.17
#D42322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#D42322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42322
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42322#FFFFFF#000000##FFFFFF
##D423221.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551F
Deuteranopia (green-blind)
#8A7B17
Tritanopia (blue-blind)
#EA0026
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d42322;
/* rgb */ color: rgb(212, 35, 34);
/* oklch */ color: oklch(56.0% 0.210 27.6);
Tailwind
colors: {
  custom: {
    50: '#ec725f',
    500: '#d42322',
    950: '#000000',
  },
}
SCSS
$custom: #d42322;
$custom-light: #ec725f;
$custom-dark: #000000;
JSON
{
  "hex": "#d42322",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 34
  },
  "hsl": {
    "h": 0.337,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56034,
    "c": 0.21016,
    "h": 27.6
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#D42322
secondary
#7DD4D5
accent
#EEEF39
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190905
muted
#867B79

Preview Lab

Preview with #D42322

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

Preview Lab → · Contrast checker → · Palette generator →

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