#822217#822217

#822217 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.133 H 30.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#822217
RGBrgb(130, 34, 23)
HSLhsl(6, 70%, 30%)
HSVhsv(6, 82%, 51%)
CMYKcmyk(0%, 73.8%, 82.3%, 49%)
CIE-LABlab(29.29, 40.29, 30.84)
CIE-LCHlch(29.29, 50.73, 37.43°)
OKLaboklab(40.59% 0.1146 0.0668)
OKLCHoklch(40.59% 0.133 30.2)
XYZxyz(9.9338, 5.9533, 1.4365)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822217 #177782
analogous
#821742 #822217 #825717
triadic
#822217 #178222 #221782
tetradic
#822217 #428217 #177782 #571782
square
#822217 #428217 #177782 #571782
split-complementary
#822217 #178257 #174282
monochromatic
#1A0705 #4E140E #822217 #B63020 #DC4938

Accessibility & contrast

On white

9.59
#822217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#822217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822217
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822217#FFFFFF#000000##FFFFFF
##8222171.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#564D13
Tritanopia (blue-blind)
#900020
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #822217;
/* rgb */ color: rgb(130, 34, 23);
/* oklch */ color: oklch(40.6% 0.133 30.2);
Tailwind
colors: {
  custom: {
    50: '#ae6455',
    500: '#822217',
    950: '#000000',
  },
}
SCSS
$custom: #822217;
$custom-light: #ae6455;
$custom-dark: #000000;
JSON
{
  "hex": "#822217",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 6.168,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.40591,
    "c": 0.13268,
    "h": 30.2
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#822217
secondary
#3EAAB6
accent
#DAED3B
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #822217

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

Preview Lab → · Contrast checker → · Palette generator →

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