#8A221B#8A221B

#8A221B is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 28.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8A221B
RGBrgb(138, 34, 27)
HSLhsl(4, 67%, 32%)
HSVhsv(4, 80%, 54%)
CMYKcmyk(0%, 75.4%, 80.4%, 45.9%)
CIE-LABlab(30.95, 43.16, 30.72)
CIE-LCHlch(30.95, 52.98, 35.44°)
OKLaboklab(42.13% 0.1235 0.0672)
OKLCHoklch(42.13% 0.141 28.5)
XYZxyz(11.2524, 6.6282, 1.7236)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A221B #1B838A
analogous
#8A1B4B #8A221B #8A5A1B
triadic
#8A221B #1B8A22 #221B8A
tetradic
#8A221B #4B8A1B #1B838A #5A1B8A
square
#8A221B #4B8A1B #1B838A #5A1B8A
split-complementary
#8A221B #1B8A5A #1B4B8A
monochromatic
#240907 #571511 #8A221B #BD2F25 #DB4E45

Accessibility & contrast

On white

9.03
#8A221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A221B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A221B#FFFFFF#000000##FFFFFF
##8A221B1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a221b;
/* rgb */ color: rgb(138, 34, 27);
/* oklch */ color: oklch(42.1% 0.141 28.5);
Tailwind
colors: {
  custom: {
    50: '#b46558',
    500: '#8a221b',
    950: '#000000',
  },
}
SCSS
$custom: #8a221b;
$custom-light: #b46558;
$custom-dark: #000000;
JSON
{
  "hex": "#8a221b",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 3.784,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.14062,
    "h": 28.5
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#8A221B
secondary
#45B4BC
accent
#DFEA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A221B

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

Preview Lab → · Contrast checker → · Palette generator →

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