#821F22#821F22

#821F22 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.134 H 24.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#821F22
RGBrgb(130, 31, 34)
HSLhsl(358, 61%, 32%)
HSVhsv(358, 76%, 51%)
CMYKcmyk(0%, 76.2%, 73.8%, 49%)
CIE-LABlab(29.01, 41.91, 23.84)
CIE-LCHlch(29.01, 48.22, 29.64°)
OKLaboklab(40.42% 0.1222 0.0546)
OKLCHoklch(40.42% 0.134 24.1)
XYZxyz(9.9858, 5.8428, 2.1150)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821F22 #1F827F
analogous
#821F54 #821F22 #824E1F
triadic
#821F22 #22821F #1F2282
tetradic
#821F22 #54821F #1F827F #4E1F82
square
#821F22 #54821F #1F827F #4E1F82
split-complementary
#821F22 #1F824E #1F5482
monochromatic
#1F0708 #511315 #821F22 #B32B2F #D3484C

Accessibility & contrast

On white

9.69
#821F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#821F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821F22
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821F22#FFFFFF#000000##FFFFFF
##821F221.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3721
Deuteranopia (green-blind)
#554C1F
Tritanopia (blue-blind)
#8F0021
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #821f22;
/* rgb */ color: rgb(130, 31, 34);
/* oklch */ color: oklch(40.4% 0.134 24.1);
Tailwind
colors: {
  custom: {
    50: '#ae635d',
    500: '#821f22',
    950: '#000000',
  },
}
SCSS
$custom: #821f22;
$custom-light: #ae635d;
$custom-dark: #000000;
JSON
{
  "hex": "#821f22",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.182,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.13384,
    "h": 24.1
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#821F22
secondary
#48B5B2
accent
#E5E043
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #821F22

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

Preview Lab → · Contrast checker → · Palette generator →

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