#D42225#D42225

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

Color values

HEX#D42225
RGBrgb(212, 34, 37)
HSLhsl(359, 72%, 48%)
HSVhsv(359, 84%, 83%)
CMYKcmyk(0%, 84%, 82.5%, 16.9%)
CIE-LABlab(46.01, 65.63, 45.06)
CIE-LCHlch(46.01, 79.61, 34.47°)
OKLaboklab(56% 0.1877 0.0951)
OKLCHoklch(56% 0.21 26.9)
XYZxyz(28.0609, 15.2794, 3.2216)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42225 #22D4D1
analogous
#D4227E #D42225 #D47822
triadic
#D42225 #25D422 #2225D4
tetradic
#D42225 #7ED422 #22D4D1 #7822D4
square
#D42225 #7ED422 #22D4D1 #7822D4
split-complementary
#D42225 #22D478 #227ED4
monochromatic
#6B1113 #9F1A1C #D42225 #E35053 #EB8587

Accessibility & contrast

On white

5.18
#D42225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D42225
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42225#FFFFFF#000000##FFFFFF
##D422251.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d42225;
/* rgb */ color: rgb(212, 34, 37);
/* oklch */ color: oklch(56.0% 0.210 26.9);
Tailwind
colors: {
  custom: {
    50: '#ec7261',
    500: '#d42225',
    950: '#000000',
  },
}
SCSS
$custom: #d42225;
$custom-light: #ec7261;
$custom-dark: #000000;
JSON
{
  "hex": "#d42225",
  "rgb": {
    "r": 212,
    "g": 34,
    "b": 37
  },
  "hsl": {
    "h": 358.989,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.21042,
    "h": 26.9
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#D42225
secondary
#7DD5D3
accent
#EFEC39
background
#FFF7F5
surface
#FFEDEA
border
#D7C8C6
text
#190905
muted
#867B79

Preview Lab

Preview with #D42225

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

Preview Lab → · Contrast checker → · Palette generator →

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