#8A212A#8A212A

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

Color values

HEX#8A212A
RGBrgb(138, 33, 42)
HSLhsl(355, 61%, 34%)
HSVhsv(355, 76%, 54%)
CMYKcmyk(0%, 76.1%, 69.6%, 45.9%)
CIE-LABlab(31.02, 44.23, 21.53)
CIE-LCHlch(31.02, 49.19, 25.95°)
OKLaboklab(42.25% 0.1303 0.0505)
OKLCHoklch(42.25% 0.14 21.2)
XYZxyz(11.4443, 6.6599, 2.8729)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A212A #218A81
analogous
#8A215E #8A212A #8A4C21
triadic
#8A212A #2A8A21 #212A8A
tetradic
#8A212A #5E8A21 #218A81 #4C218A
square
#8A212A #5E8A21 #218A81 #4C218A
split-complementary
#8A212A #218A4C #215E8A
monochromatic
#27090C #59151B #8A212A #BB2D39 #D5505C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A212A#FFFFFF#000000##FFFFFF
##8A212A1.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)
#3F3B29
Deuteranopia (green-blind)
#5A5127
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a212a;
/* rgb */ color: rgb(138, 33, 42);
/* oklch */ color: oklch(42.3% 0.140 21.2);
Tailwind
colors: {
  custom: {
    50: '#b36563',
    500: '#8a212a',
    950: '#000000',
  },
}
SCSS
$custom: #8a212a;
$custom-light: #b36563;
$custom-dark: #000000;
JSON
{
  "hex": "#8a212a",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 42
  },
  "hsl": {
    "h": 354.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.13973,
    "h": 21.2
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#8A212A
secondary
#4EB9AF
accent
#E5D743
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A212A

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

Preview Lab → · Contrast checker → · Palette generator →

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