#D42126#D42126

#D42126 is a mid, highly saturated red. Relative luminance 0.152; OKLCH L 56.0% C 0.211 H 26.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D42126
RGBrgb(212, 33, 38)
HSLhsl(358, 73%, 48%)
HSVhsv(358, 84%, 83%)
CMYKcmyk(0%, 84.4%, 82.1%, 16.9%)
CIE-LABlab(45.95, 65.87, 44.47)
CIE-LCHlch(45.95, 79.48, 34.02°)
OKLaboklab(55.96% 0.1887 0.0942)
OKLCHoklch(55.96% 0.211 26.5)
XYZxyz(28.0486, 15.2294, 3.2961)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42126 #21D4CF
analogous
#D4217F #D42126 #D47521
triadic
#D42126 #26D421 #2126D4
tetradic
#D42126 #7FD421 #21D4CF #7521D4
square
#D42126 #7FD421 #21D4CF #7521D4
split-complementary
#D42126 #21D475 #217FD4
monochromatic
#6A1113 #9F191D #D42126 #E44F53 #EC8487

Accessibility & contrast

On white

5.19
#D42126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#D42126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42126
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42126#FFFFFF#000000##FFFFFF
##D421261.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#897A1C
Tritanopia (blue-blind)
#EA0026
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d42126;
/* rgb */ color: rgb(212, 33, 38);
/* oklch */ color: oklch(56.0% 0.211 26.5);
Tailwind
colors: {
  custom: {
    50: '#ec7162',
    500: '#d42126',
    950: '#000000',
  },
}
SCSS
$custom: #d42126;
$custom-light: #ec7162;
$custom-dark: #000000;
JSON
{
  "hex": "#d42126",
  "rgb": {
    "r": 212,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 358.324,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.21086,
    "h": 26.5
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#D42126
secondary
#7CD5D2
accent
#F0EB38
background
#FFF7F5
surface
#FFEDEA
border
#D7C8C6
text
#190905
muted
#867B79

Preview Lab

Preview with #D42126

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

Preview Lab → · Contrast checker → · Palette generator →

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