#821B22#821B22

#821B22 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.137 H 22.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#821B22
RGBrgb(130, 27, 34)
HSLhsl(356, 66%, 31%)
HSVhsv(356, 79%, 51%)
CMYKcmyk(0%, 79.2%, 73.8%, 49%)
CIE-LABlab(28.50, 43.33, 23.24)
CIE-LCHlch(28.50, 49.17, 28.21°)
OKLaboklab(40.05% 0.1267 0.0532)
OKLCHoklch(40.05% 0.137 22.8)
XYZxyz(9.8877, 5.6467, 2.0824)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B22 #1B827B
analogous
#821B55 #821B22 #82471B
triadic
#821B22 #22821B #1B2282
tetradic
#821B22 #55821B #1B827B #471B82
square
#821B22 #55821B #1B827B #471B82
split-complementary
#821B22 #1B8247 #1B5582
monochromatic
#1D0607 #4F1015 #821B22 #B5262F #D7404A

Accessibility & contrast

On white

9.86
#821B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#821B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B22
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B22#FFFFFF#000000##FFFFFF
##821B221.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3521
Deuteranopia (green-blind)
#544B1E
Tritanopia (blue-blind)
#8F001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #821b22;
/* rgb */ color: rgb(130, 27, 34);
/* oklch */ color: oklch(40.0% 0.137 22.8);
Tailwind
colors: {
  custom: {
    50: '#ae615d',
    500: '#821b22',
    950: '#000000',
  },
}
SCSS
$custom: #821b22;
$custom-light: #ae615d;
$custom-dark: #000000;
JSON
{
  "hex": "#821b22",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 355.922,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.13745,
    "h": 22.8
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#821B22
secondary
#43B6AE
accent
#E9DD3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #821B22

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

Preview Lab → · Contrast checker → · Palette generator →

#821B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva