#D5221E#D5221E

#D5221E is a mid, highly saturated red. Relative luminance 0.154; OKLCH L 56.1% C 0.212 H 28.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D5221E
RGBrgb(213, 34, 30)
HSLhsl(1, 75%, 48%)
HSVhsv(1, 86%, 84%)
CMYKcmyk(0%, 84%, 85.9%, 16.5%)
CIE-LABlab(46.16, 65.74, 48.78)
CIE-LCHlch(46.16, 81.86, 36.57°)
OKLaboklab(56.13% 0.1867 0.1004)
OKLCHoklch(56.13% 0.212 28.3)
XYZxyz(28.2506, 15.3887, 2.7109)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5221E #1ED1D5
analogous
#D51E76 #D5221E #D57D1E
triadic
#D5221E #1ED522 #221ED5
tetradic
#D5221E #76D51E #1ED1D5 #7D1ED5
square
#D5221E #76D51E #1ED1D5 #7D1ED5
split-complementary
#D5221E #1ED57D #1E76D5
monochromatic
#6A110F #9F1916 #D5221E #E64E4B #ED8380

Accessibility & contrast

On white

5.15
#D5221E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D5221E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5221E#FFFFFF#000000##FFFFFF
##D5221E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551A
Deuteranopia (green-blind)
#8A7B11
Tritanopia (blue-blind)
#EB0025
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #d5221e;
/* rgb */ color: rgb(213, 34, 30);
/* oklch */ color: oklch(56.1% 0.212 28.3);
Tailwind
colors: {
  custom: {
    50: '#ed725d',
    500: '#d5221e',
    950: '#000000',
  },
}
SCSS
$custom: #d5221e;
$custom-light: #ed725d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5221e",
  "rgb": {
    "r": 213,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 1.311,
    "s": 75.309,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.21198,
    "h": 28.3
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#D5221E
secondary
#79D4D6
accent
#EEF236
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190904
muted
#867B79

Preview Lab

Preview with #D5221E

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

Preview Lab → · Contrast checker → · Palette generator →

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