#821E17#821E17

#821E17 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.136 H 28.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#821E17
RGBrgb(130, 30, 23)
HSLhsl(4, 70%, 30%)
HSVhsv(4, 82%, 51%)
CMYKcmyk(0%, 76.9%, 82.3%, 49%)
CIE-LABlab(28.74, 41.82, 30.28)
CIE-LCHlch(28.74, 51.63, 35.91°)
OKLaboklab(40.18% 0.1194 0.0656)
OKLCHoklch(40.18% 0.136 28.8)
XYZxyz(9.8260, 5.7378, 1.4006)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E17 #177B82
analogous
#821746 #821E17 #825317
triadic
#821E17 #17821E #1E1782
tetradic
#821E17 #468217 #177B82 #531782
square
#821E17 #468217 #177B82 #531782
split-complementary
#821E17 #178253 #174682
monochromatic
#1A0605 #4E120E #821E17 #B62A20 #DC4238

Accessibility & contrast

On white

9.78
#821E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#821E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E17
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E17#FFFFFF#000000##FFFFFF
##821E171.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3615
Deuteranopia (green-blind)
#554C12
Tritanopia (blue-blind)
#90001E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #821e17;
/* rgb */ color: rgb(130, 30, 23);
/* oklch */ color: oklch(40.2% 0.136 28.8);
Tailwind
colors: {
  custom: {
    50: '#ae6255',
    500: '#821e17',
    950: '#000000',
  },
}
SCSS
$custom: #821e17;
$custom-light: #ae6255;
$custom-dark: #000000;
JSON
{
  "hex": "#821e17",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 3.925,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.13625,
    "h": 28.8
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#821E17
secondary
#3EAEB6
accent
#E1ED3B
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #821E17

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

Preview Lab → · Contrast checker → · Palette generator →

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