#8A2217#8A2217

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

Color values

HEX#8A2217
RGBrgb(138, 34, 23)
HSLhsl(6, 71%, 32%)
HSVhsv(6, 83%, 54%)
CMYKcmyk(0%, 75.4%, 83.3%, 45.9%)
CIE-LABlab(30.90, 43.02, 32.96)
CIE-LCHlch(30.90, 54.20, 37.46°)
OKLaboklab(42.09% 0.1223 0.0707)
OKLCHoklch(42.09% 0.141 30)
XYZxyz(11.2093, 6.6109, 1.4963)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2217 #177F8A
analogous
#8A1746 #8A2217 #8A5C17
triadic
#8A2217 #178A22 #22178A
tetradic
#8A2217 #468A17 #177F8A #5C178A
square
#8A2217 #468A17 #177F8A #5C178A
split-complementary
#8A2217 #178A5C #17468A
monochromatic
#210806 #56150E #8A2217 #BE2F20 #DF4C3D

Accessibility & contrast

On white

9.04
#8A2217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2217
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2217#FFFFFF#000000##FFFFFF
##8A22171.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A15
Deuteranopia (green-blind)
#5B5112
Tritanopia (blue-blind)
#990021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2217;
/* rgb */ color: rgb(138, 34, 23);
/* oklch */ color: oklch(42.1% 0.141 30.0);
Tailwind
colors: {
  custom: {
    50: '#b56555',
    500: '#8a2217',
    950: '#000000',
  },
}
SCSS
$custom: #8a2217;
$custom-light: #b56555;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2217",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 5.739,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42086,
    "c": 0.14124,
    "h": 30
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#8A2217
secondary
#3FB2BE
accent
#DDEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2217

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

Preview Lab → · Contrast checker → · Palette generator →

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