#821A2A#821A2A

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

Color values

HEX#821A2A
RGBrgb(130, 26, 42)
HSLhsl(351, 67%, 31%)
HSVhsv(351, 80%, 51%)
CMYKcmyk(0%, 80%, 67.7%, 49%)
CIE-LABlab(28.52, 44.10, 18.04)
CIE-LCHlch(28.52, 47.65, 22.25°)
OKLaboklab(40.1% 0.131 0.0429)
OKLCHoklch(40.1% 0.138 18.1)
XYZxyz(9.9943, 5.6533, 2.7550)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A2A #1A8272
analogous
#821A5E #821A2A #823E1A
triadic
#821A2A #2A821A #1A2A82
tetradic
#821A2A #5E821A #1A8272 #3E1A82
square
#821A2A #5E821A #1A8272 #3E1A82
split-complementary
#821A2A #1A823E #1A5E82
monochromatic
#1C0609 #4F101A #821A2A #B5243A #D83E56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##821A2A#FFFFFF#000000##FFFFFF
##821A2A1.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)
#38352A
Deuteranopia (green-blind)
#534B27
Tritanopia (blue-blind)
#8F0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #821a2a;
/* rgb */ color: rgb(130, 26, 42);
/* oklch */ color: oklch(40.1% 0.138 18.1);
Tailwind
colors: {
  custom: {
    50: '#ad6163',
    500: '#821a2a',
    950: '#000000',
  },
}
SCSS
$custom: #821a2a;
$custom-light: #ad6163;
$custom-dark: #000000;
JSON
{
  "hex": "#821a2a",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 350.769,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.13788,
    "h": 18.1
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#821A2A
secondary
#42B6A4
accent
#EACF3E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #821A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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