#8A2021#8A2021

#8A2021 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 25.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8A2021
RGBrgb(138, 32, 33)
HSLhsl(359, 62%, 33%)
HSVhsv(359, 77%, 54%)
CMYKcmyk(0%, 76.8%, 76.1%, 45.9%)
CIE-LABlab(30.75, 44.14, 26.90)
CIE-LCHlch(30.75, 51.69, 31.36°)
OKLaboklab(42.01% 0.128 0.0605)
OKLCHoklch(42.01% 0.142 25.3)
XYZxyz(11.2736, 6.5478, 2.1088)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2021 #208A89
analogous
#8A2056 #8A2021 #8A5420
triadic
#8A2021 #218A20 #20218A
tetradic
#8A2021 #568A20 #208A89 #54208A
square
#8A2021 #568A20 #208A89 #54208A
split-complementary
#8A2021 #208A54 #20568A
monochromatic
#270909 #581415 #8A2021 #BC2C2D #D64E50

Accessibility & contrast

On white

9.09
#8A2021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A2021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2021
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2021#FFFFFF#000000##FFFFFF
##8A20211.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A20
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a2021;
/* rgb */ color: rgb(138, 32, 33);
/* oklch */ color: oklch(42.0% 0.142 25.3);
Tailwind
colors: {
  custom: {
    50: '#b4655c',
    500: '#8a2021',
    950: '#000000',
  },
}
SCSS
$custom: #8a2021;
$custom-light: #b4655c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2021",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.434,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42011,
    "c": 0.14155,
    "h": 25.3
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#8A2021
secondary
#4DB9B8
accent
#E5E442
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A2021

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

Preview Lab → · Contrast checker → · Palette generator →

#8A2021 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva