#8A221C#8A221C

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

Color values

HEX#8A221C
RGBrgb(138, 34, 28)
HSLhsl(3, 66%, 33%)
HSVhsv(3, 80%, 54%)
CMYKcmyk(0%, 75.4%, 79.7%, 45.9%)
CIE-LABlab(30.96, 43.20, 30.15)
CIE-LCHlch(30.96, 52.68, 34.91°)
OKLaboklab(42.14% 0.1239 0.0662)
OKLCHoklch(42.14% 0.14 28.1)
XYZxyz(11.2642, 6.6329, 1.7856)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A221C #1C848A
analogous
#8A1C4D #8A221C #8A591C
triadic
#8A221C #1C8A22 #221C8A
tetradic
#8A221C #4D8A1C #1C848A #591C8A
square
#8A221C #4D8A1C #1C848A #591C8A
split-complementary
#8A221C #1C8A59 #1C4D8A
monochromatic
#240907 #571512 #8A221C #BD2F26 #DA4F47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A221C#FFFFFF#000000##FFFFFF
##8A221C1.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)
#413A1A
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a221c;
/* rgb */ color: rgb(138, 34, 28);
/* oklch */ color: oklch(42.1% 0.140 28.1);
Tailwind
colors: {
  custom: {
    50: '#b46559',
    500: '#8a221c',
    950: '#000000',
  },
}
SCSS
$custom: #8a221c;
$custom-light: #b46559;
$custom-dark: #000000;
JSON
{
  "hex": "#8a221c",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 3.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.14047,
    "h": 28.1
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#8A221C
secondary
#46B5BB
accent
#E0E93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A221C

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

Preview Lab → · Contrast checker → · Palette generator →

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