#821B23#821B23

#821B23 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.137 H 22.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#821B23
RGBrgb(130, 27, 35)
HSLhsl(355, 66%, 31%)
HSVhsv(355, 79%, 51%)
CMYKcmyk(0%, 79.2%, 73.1%, 49%)
CIE-LABlab(28.52, 43.38, 22.62)
CIE-LCHlch(28.52, 48.93, 27.54°)
OKLaboklab(40.06% 0.1271 0.0521)
OKLCHoklch(40.06% 0.137 22.3)
XYZxyz(9.9024, 5.6526, 2.1594)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B23 #1B827A
analogous
#821B56 #821B23 #82461B
triadic
#821B23 #23821B #1B2382
tetradic
#821B23 #56821B #1B827A #461B82
square
#821B23 #56821B #1B827A #461B82
split-complementary
#821B23 #1B8246 #1B5682
monochromatic
#1D0608 #4F1015 #821B23 #B52631 #D7404C

Accessibility & contrast

On white

9.86
#821B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#821B23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B23
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B23#FFFFFF#000000##FFFFFF
##821B231.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3522
Deuteranopia (green-blind)
#544B20
Tritanopia (blue-blind)
#8F001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #821b23;
/* rgb */ color: rgb(130, 27, 35);
/* oklch */ color: oklch(40.1% 0.137 22.3);
Tailwind
colors: {
  custom: {
    50: '#ae615d',
    500: '#821b23',
    950: '#000000',
  },
}
SCSS
$custom: #821b23;
$custom-light: #ae615d;
$custom-dark: #000000;
JSON
{
  "hex": "#821b23",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 35
  },
  "hsl": {
    "h": 355.34,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.13737,
    "h": 22.3
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#821B23
secondary
#43B6AD
accent
#E9DB3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #821B23

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

Preview Lab → · Contrast checker → · Palette generator →

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