#8A2221#8A2221

#8A2221 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.2% C 0.140 H 26.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8A2221
RGBrgb(138, 34, 33)
HSLhsl(1, 61%, 34%)
HSVhsv(1, 76%, 54%)
CMYKcmyk(0%, 75.4%, 76.1%, 45.9%)
CIE-LABlab(31.02, 43.41, 27.20)
CIE-LCHlch(31.02, 51.22, 32.07°)
OKLaboklab(42.21% 0.1256 0.0612)
OKLCHoklch(42.21% 0.14 26)
XYZxyz(11.3291, 6.6589, 2.1273)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2221 #21898A
analogous
#8A2154 #8A2221 #8A5621
triadic
#8A2221 #218A22 #22218A
tetradic
#8A2221 #548A21 #21898A #56218A
square
#8A2221 #548A21 #21898A #56218A
split-complementary
#8A2221 #218A56 #21548A
monochromatic
#270A09 #591615 #8A2221 #BB2E2D #D55150

Accessibility & contrast

On white

9.01
#8A2221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A2221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2221
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2221#FFFFFF#000000##FFFFFF
##8A22211.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B20
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2221;
/* rgb */ color: rgb(138, 34, 33);
/* oklch */ color: oklch(42.2% 0.140 26.0);
Tailwind
colors: {
  custom: {
    50: '#b4665c',
    500: '#8a2221',
    950: '#000000',
  },
}
SCSS
$custom: #8a2221;
$custom-light: #b4665c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2221",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 33
  },
  "hsl": {
    "h": 0.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.13974,
    "h": 26
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#8A2221
secondary
#4EB8B9
accent
#E3E543
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A2221

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

Preview Lab → · Contrast checker → · Palette generator →

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