#8A221F#8A221F

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

Color values

HEX#8A221F
RGBrgb(138, 34, 31)
HSLhsl(2, 63%, 33%)
HSVhsv(2, 78%, 54%)
CMYKcmyk(0%, 75.4%, 77.5%, 45.9%)
CIE-LABlab(30.99, 43.32, 28.39)
CIE-LCHlch(30.99, 51.79, 33.24°)
OKLaboklab(42.18% 0.1249 0.0633)
OKLCHoklch(42.18% 0.14 26.9)
XYZxyz(11.3019, 6.6480, 1.9842)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A221F #1F878A
analogous
#8A1F51 #8A221F #8A571F
triadic
#8A221F #1F8A22 #221F8A
tetradic
#8A221F #518A1F #1F878A #571F8A
square
#8A221F #518A1F #1F878A #571F8A
split-complementary
#8A221F #1F8A57 #1F518A
monochromatic
#260909 #581614 #8A221F #BC2E2A #D7504C

Accessibility & contrast

On white

9.02
#8A221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A221F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A221F#FFFFFF#000000##FFFFFF
##8A221F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a221f;
/* rgb */ color: rgb(138, 34, 31);
/* oklch */ color: oklch(42.2% 0.140 26.9);
Tailwind
colors: {
  custom: {
    50: '#b4665b',
    500: '#8a221f',
    950: '#000000',
  },
}
SCSS
$custom: #8a221f;
$custom-light: #b4665b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a221f",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.682,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.14003,
    "h": 26.9
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#8A221F
secondary
#4BB7BA
accent
#E2E641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A221F

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

Preview Lab → · Contrast checker → · Palette generator →

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