#D52822#D52822

#D52822 is a mid, highly saturated red. Relative luminance 0.158; OKLCH L 56.5% C 0.208 H 28.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D52822
RGBrgb(213, 40, 34)
HSLhsl(2, 72%, 48%)
HSVhsv(2, 84%, 84%)
CMYKcmyk(0%, 81.2%, 84%, 16.5%)
CIE-LABlab(46.69, 64.41, 47.28)
CIE-LCHlch(46.69, 79.91, 36.28°)
OKLaboklab(56.53% 0.1832 0.0988)
OKLCHoklch(56.53% 0.208 28.3)
XYZxyz(28.4917, 15.7839, 3.0595)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52822 #22CFD5
analogous
#D52275 #D52822 #D58122
triadic
#D52822 #22D528 #2822D5
tetradic
#D52822 #75D522 #22CFD5 #8122D5
square
#D52822 #75D522 #22CFD5 #8122D5
split-complementary
#D52822 #22D581 #2275D5
monochromatic
#6B1411 #A01E1A #D52822 #E35651 #EC8986

Accessibility & contrast

On white

5.05
#D52822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#D52822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D52822
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52822#FFFFFF#000000##FFFFFF
##D528221.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61571E
Deuteranopia (green-blind)
#8B7C17
Tritanopia (blue-blind)
#EB002A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d52822;
/* rgb */ color: rgb(213, 40, 34);
/* oklch */ color: oklch(56.5% 0.208 28.3);
Tailwind
colors: {
  custom: {
    50: '#ed745f',
    500: '#d52822',
    950: '#000000',
  },
}
SCSS
$custom: #d52822;
$custom-light: #ed745f;
$custom-dark: #000000;
JSON
{
  "hex": "#d52822",
  "rgb": {
    "r": 213,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 2.011,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.20814,
    "h": 28.3
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#D52822
secondary
#7ED2D5
accent
#E9EF39
background
#FFF7F5
surface
#FFEEE9
border
#D7C9C5
text
#190905
muted
#867B79

Preview Lab

Preview with #D52822

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

Preview Lab → · Contrast checker → · Palette generator →

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