#821B28#821B28

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

Color values

HEX#821B28
RGBrgb(130, 27, 40)
HSLhsl(352, 66%, 31%)
HSVhsv(352, 79%, 51%)
CMYKcmyk(0%, 79.2%, 69.2%, 49%)
CIE-LABlab(28.60, 43.65, 19.46)
CIE-LCHlch(28.60, 47.79, 24.03°)
OKLaboklab(40.15% 0.1291 0.0459)
OKLCHoklch(40.15% 0.137 19.6)
XYZxyz(9.9820, 5.6844, 2.5787)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B28 #1B8275
analogous
#821B5B #821B28 #82411B
triadic
#821B28 #28821B #1B2882
tetradic
#821B28 #5B821B #1B8275 #411B82
square
#821B28 #5B821B #1B8275 #411B82
split-complementary
#821B28 #1B8241 #1B5B82
monochromatic
#1D0609 #4F1018 #821B28 #B52638 #D74053

Accessibility & contrast

On white

9.83
#821B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821B28
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B28#FFFFFF#000000##FFFFFF
##821B281.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821b28;
/* rgb */ color: rgb(130, 27, 40);
/* oklch */ color: oklch(40.2% 0.137 19.6);
Tailwind
colors: {
  custom: {
    50: '#ad6261',
    500: '#821b28',
    950: '#000000',
  },
}
SCSS
$custom: #821b28;
$custom-light: #ad6261;
$custom-dark: #000000;
JSON
{
  "hex": "#821b28",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 352.427,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.13705,
    "h": 19.6
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#821B28
secondary
#43B6A7
accent
#E9D33F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #821B28

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

Preview Lab → · Contrast checker → · Palette generator →

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