#821A28#821A28

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

Color values

HEX#821A28
RGBrgb(130, 26, 40)
HSLhsl(352, 67%, 31%)
HSVhsv(352, 80%, 51%)
CMYKcmyk(0%, 80%, 69.2%, 49%)
CIE-LABlab(28.48, 43.98, 19.32)
CIE-LCHlch(28.48, 48.04, 23.71°)
OKLaboklab(40.06% 0.1302 0.0455)
OKLCHoklch(40.06% 0.138 19.3)
XYZxyz(9.9594, 5.6393, 2.5712)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A28 #1A8274
analogous
#821A5C #821A28 #82401A
triadic
#821A28 #28821A #1A2882
tetradic
#821A28 #5C821A #1A8274 #401A82
square
#821A28 #5C821A #1A8274 #401A82
split-complementary
#821A28 #1A8240 #1A5C82
monochromatic
#1C0609 #4F1018 #821A28 #B52438 #D83E53

Accessibility & contrast

On white

9.87
#821A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821A28
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A28#FFFFFF#000000##FFFFFF
##821A281.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393528
Deuteranopia (green-blind)
#534B25
Tritanopia (blue-blind)
#8F0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #821a28;
/* rgb */ color: rgb(130, 26, 40);
/* oklch */ color: oklch(40.1% 0.138 19.3);
Tailwind
colors: {
  custom: {
    50: '#ad6161',
    500: '#821a28',
    950: '#000000',
  },
}
SCSS
$custom: #821a28;
$custom-light: #ad6161;
$custom-dark: #000000;
JSON
{
  "hex": "#821a28",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 351.923,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.13793,
    "h": 19.3
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#821A28
secondary
#42B6A6
accent
#EAD33E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #821A28

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

Preview Lab → · Contrast checker → · Palette generator →

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