#821B2A#821B2A

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

Color values

HEX#821B2A
RGBrgb(130, 27, 42)
HSLhsl(351, 66%, 31%)
HSVhsv(351, 79%, 51%)
CMYKcmyk(0%, 79.2%, 67.7%, 49%)
CIE-LABlab(28.64, 43.77, 18.19)
CIE-LCHlch(28.64, 47.40, 22.57°)
OKLaboklab(40.19% 0.13 0.0433)
OKLCHoklch(40.19% 0.137 18.4)
XYZxyz(10.0169, 5.6984, 2.7625)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B2A #1B8273
analogous
#821B5D #821B2A #823F1B
triadic
#821B2A #2A821B #1B2A82
tetradic
#821B2A #5D821B #1B8273 #3F1B82
square
#821B2A #5D821B #1B8273 #3F1B82
split-complementary
#821B2A #1B823F #1B5D82
monochromatic
#1D0609 #4F101A #821B2A #B5263A #D74056

Accessibility & contrast

On white

9.82
#821B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#821B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B2A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B2A#FFFFFF#000000##FFFFFF
##821B2A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362A
Deuteranopia (green-blind)
#534B27
Tritanopia (blue-blind)
#8F0022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #821b2a;
/* rgb */ color: rgb(130, 27, 42);
/* oklch */ color: oklch(40.2% 0.137 18.4);
Tailwind
colors: {
  custom: {
    50: '#ad6263',
    500: '#821b2a',
    950: '#000000',
  },
}
SCSS
$custom: #821b2a;
$custom-light: #ad6263;
$custom-dark: #000000;
JSON
{
  "hex": "#821b2a",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 351.262,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.13699,
    "h": 18.4
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#821B2A
secondary
#43B6A5
accent
#E9D03F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #821B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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