#8A2917#8A2917

#8A2917 is a dark, vivid red. Relative luminance 0.071; OKLCH L 42.9% C 0.135 H 32.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8A2917
RGBrgb(138, 41, 23)
HSLhsl(9, 71%, 32%)
HSVhsv(9, 83%, 54%)
CMYKcmyk(0%, 70.3%, 83.3%, 45.9%)
CIE-LABlab(31.93, 40.22, 33.95)
CIE-LCHlch(31.93, 52.63, 40.17°)
OKLaboklab(42.85% 0.1135 0.0729)
OKLCHoklch(42.85% 0.135 32.7)
XYZxyz(11.4302, 7.0527, 1.5699)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2917 #17788A
analogous
#8A173F #8A2917 #8A6317
triadic
#8A2917 #178A29 #29178A
tetradic
#8A2917 #3F8A17 #17788A #63178A
square
#8A2917 #3F8A17 #17788A #63178A
split-complementary
#8A2917 #178A63 #173F8A
monochromatic
#210A06 #56190E #8A2917 #BE3920 #DF563D

Accessibility & contrast

On white

8.71
#8A2917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A2917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2917
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2917#FFFFFF#000000##FFFFFF
##8A29171.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D14
Deuteranopia (green-blind)
#5D5312
Tritanopia (blue-blind)
#980726
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2917;
/* rgb */ color: rgb(138, 41, 23);
/* oklch */ color: oklch(42.9% 0.135 32.7);
Tailwind
colors: {
  custom: {
    50: '#b46956',
    500: '#8a2917',
    950: '#000000',
  },
}
SCSS
$custom: #8a2917;
$custom-light: #b46956;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2917",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 9.391,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.13491,
    "h": 32.7
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#8A2917
secondary
#3FAABE
accent
#D2EE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8A2917

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

Preview Lab → · Contrast checker → · Palette generator →

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