#821E23#821E23

#821E23 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.135 H 23.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#821E23
RGBrgb(130, 30, 35)
HSLhsl(357, 63%, 31%)
HSVhsv(357, 77%, 51%)
CMYKcmyk(0%, 76.9%, 73.1%, 49%)
CIE-LABlab(28.89, 42.33, 23.07)
CIE-LCHlch(28.89, 48.21, 28.59°)
OKLaboklab(40.34% 0.1238 0.0531)
OKLCHoklch(40.34% 0.135 23.2)
XYZxyz(9.9747, 5.7972, 2.1835)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E23 #1E827D
analogous
#821E55 #821E23 #824B1E
triadic
#821E23 #23821E #1E2382
tetradic
#821E23 #55821E #1E827D #4B1E82
square
#821E23 #55821E #1E827D #4B1E82
split-complementary
#821E23 #1E824B #1E5582
monochromatic
#1F0708 #501316 #821E23 #B42930 #D4464D

Accessibility & contrast

On white

9.73
#821E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#821E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E23
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E23#FFFFFF#000000##FFFFFF
##821E231.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3622
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#8F0021
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #821e23;
/* rgb */ color: rgb(130, 30, 35);
/* oklch */ color: oklch(40.3% 0.135 23.2);
Tailwind
colors: {
  custom: {
    50: '#ae635e',
    500: '#821e23',
    950: '#000000',
  },
}
SCSS
$custom: #821e23;
$custom-light: #ae635e;
$custom-dark: #000000;
JSON
{
  "hex": "#821e23",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 357,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.13466,
    "h": 23.2
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#821E23
secondary
#47B5AF
accent
#E6DD42
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #821E23

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

Preview Lab → · Contrast checker → · Palette generator →

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