#821F28#821F28

#821F28 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.133 H 20.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#821F28
RGBrgb(130, 31, 40)
HSLhsl(355, 61%, 32%)
HSVhsv(355, 76%, 51%)
CMYKcmyk(0%, 76.2%, 69.2%, 49%)
CIE-LABlab(29.11, 42.24, 20.10)
CIE-LCHlch(29.11, 46.77, 25.45°)
OKLaboklab(40.53% 0.1246 0.0473)
OKLCHoklch(40.53% 0.133 20.8)
XYZxyz(10.0800, 5.8805, 2.6114)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821F28 #1F8279
analogous
#821F5A #821F28 #82481F
triadic
#821F28 #28821F #1F2882
tetradic
#821F28 #5A821F #1F8279 #481F82
square
#821F28 #5A821F #1F8279 #481F82
split-complementary
#821F28 #1F8248 #1F5A82
monochromatic
#1F070A #511319 #821F28 #B32B37 #D34855

Accessibility & contrast

On white

9.65
#821F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#821F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821F28
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821F28#FFFFFF#000000##FFFFFF
##821F281.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3728
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#8F0023
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #821f28;
/* rgb */ color: rgb(130, 31, 40);
/* oklch */ color: oklch(40.5% 0.133 20.8);
Tailwind
colors: {
  custom: {
    50: '#ad6361',
    500: '#821f28',
    950: '#000000',
  },
}
SCSS
$custom: #821f28;
$custom-light: #ad6361;
$custom-dark: #000000;
JSON
{
  "hex": "#821f28",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 354.545,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40527,
    "c": 0.13329,
    "h": 20.8
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#821F28
secondary
#48B5AB
accent
#E5D643
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #821F28

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

Preview Lab → · Contrast checker → · Palette generator →

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