#8A2212#8A2212

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

Color values

HEX#8A2212
RGBrgb(138, 34, 18)
HSLhsl(8, 77%, 31%)
HSVhsv(8, 87%, 54%)
CMYKcmyk(0%, 75.4%, 87%, 45.9%)
CIE-LABlab(30.86, 42.88, 35.59)
CIE-LCHlch(30.86, 55.73, 39.70°)
OKLaboklab(42.04% 0.1209 0.0745)
OKLCHoklch(42.04% 0.142 31.7)
XYZxyz(11.1638, 6.5928, 1.2569)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2212 #127A8A
analogous
#8A123E #8A2212 #8A5E12
triadic
#8A2212 #128A22 #22128A
tetradic
#8A2212 #3E8A12 #127A8A #5E128A
square
#8A2212 #3E8A12 #127A8A #5E128A
split-complementary
#8A2212 #128A5E #123E8A
monochromatic
#1E0704 #54150B #8A2212 #C02F19 #E44A32

Accessibility & contrast

On white

9.06
#8A2212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A2212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2212
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2212#FFFFFF#000000##FFFFFF
##8A22121.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0F
Deuteranopia (green-blind)
#5B510C
Tritanopia (blue-blind)
#990020
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2212;
/* rgb */ color: rgb(138, 34, 18);
/* oklch */ color: oklch(42.0% 0.142 31.7);
Tailwind
colors: {
  custom: {
    50: '#b56552',
    500: '#8a2212',
    950: '#000000',
  },
}
SCSS
$custom: #8a2212;
$custom-light: #b56552;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2212",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 8,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4204,
    "c": 0.14201,
    "h": 31.7
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#8A2212
secondary
#39ADBF
accent
#DAF334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8A2212

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

Preview Lab → · Contrast checker → · Palette generator →

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