#D52223#D52223

#D52223 is a mid, highly saturated red. Relative luminance 0.154; OKLCH L 56.2% C 0.211 H 27.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D52223
RGBrgb(213, 34, 35)
HSLhsl(360, 72%, 48%)
HSVhsv(360, 84%, 84%)
CMYKcmyk(0%, 84%, 83.6%, 16.5%)
CIE-LABlab(46.20, 65.85, 46.34)
CIE-LCHlch(46.20, 80.52, 35.13°)
OKLaboklab(56.17% 0.1879 0.097)
OKLCHoklch(56.17% 0.212 27.3)
XYZxyz(28.3196, 15.4163, 3.0743)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D52223 #22D5D4
analogous
#D5227C #D52223 #D57A22
triadic
#D52223 #23D522 #2223D5
tetradic
#D52223 #7CD522 #22D5D4 #7A22D5
square
#D52223 #7CD522 #22D5D4 #7A22D5
split-complementary
#D52223 #22D57A #227CD5
monochromatic
#6B1112 #A01A1A #D52223 #E35152 #EC8686

Accessibility & contrast

On white

5.14
#D52223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#D52223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D52223
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D52223#FFFFFF#000000##FFFFFF
##D522231.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5520
Deuteranopia (green-blind)
#8A7B18
Tritanopia (blue-blind)
#EB0026
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d52223;
/* rgb */ color: rgb(213, 34, 35);
/* oklch */ color: oklch(56.2% 0.211 27.3);
Tailwind
colors: {
  custom: {
    50: '#ed7260',
    500: '#d52223',
    950: '#000000',
  },
}
SCSS
$custom: #d52223;
$custom-light: #ed7260;
$custom-dark: #000000;
JSON
{
  "hex": "#d52223",
  "rgb": {
    "r": 213,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.665,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.2115,
    "h": 27.3
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#D52223
secondary
#7ED5D4
accent
#EFEE39
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190905
muted
#867B79

Preview Lab

Preview with #D52223

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

Preview Lab → · Contrast checker → · Palette generator →

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