#822021#822021

#822021 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.133 H 24.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#822021
RGBrgb(130, 32, 33)
HSLhsl(359, 60%, 32%)
HSVhsv(359, 75%, 51%)
CMYKcmyk(0%, 75.4%, 74.6%, 49%)
CIE-LABlab(29.13, 41.49, 24.62)
CIE-LCHlch(29.13, 48.24, 30.69°)
OKLaboklab(40.51% 0.1206 0.0561)
OKLCHoklch(40.51% 0.133 24.9)
XYZxyz(9.9981, 5.8902, 2.0490)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822021 #208281
analogous
#822052 #822021 #825020
triadic
#822021 #218220 #202182
tetradic
#822021 #528220 #208281 #502082
square
#822021 #528220 #208281 #502082
split-complementary
#822021 #208250 #205282
monochromatic
#200808 #511415 #822021 #B32C2D #D24A4B

Accessibility & contrast

On white

9.64
#822021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#822021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822021
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822021#FFFFFF#000000##FFFFFF
##8220211.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3720
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#8F0022
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #822021;
/* rgb */ color: rgb(130, 32, 33);
/* oklch */ color: oklch(40.5% 0.133 24.9);
Tailwind
colors: {
  custom: {
    50: '#ae645c',
    500: '#822021',
    950: '#000000',
  },
}
SCSS
$custom: #822021;
$custom-light: #ae645c;
$custom-dark: #000000;
JSON
{
  "hex": "#822021",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.388,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.13302,
    "h": 24.9
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#822021
secondary
#49B5B4
accent
#E4E244
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #822021

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

Preview Lab → · Contrast checker → · Palette generator →

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