#8A2717#8A2717

#8A2717 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.6% C 0.137 H 31.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2717
RGBrgb(138, 39, 23)
HSLhsl(8, 71%, 32%)
HSVhsv(8, 83%, 54%)
CMYKcmyk(0%, 71.7%, 83.3%, 45.9%)
CIE-LABlab(31.62, 41.06, 33.66)
CIE-LCHlch(31.62, 53.09, 39.34°)
OKLaboklab(42.62% 0.1161 0.0722)
OKLCHoklch(42.62% 0.137 31.9)
XYZxyz(11.3627, 6.9179, 1.5474)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2717 #177A8A
analogous
#8A1741 #8A2717 #8A6117
triadic
#8A2717 #178A27 #27178A
tetradic
#8A2717 #418A17 #177A8A #61178A
square
#8A2717 #418A17 #177A8A #61178A
split-complementary
#8A2717 #178A61 #17418A
monochromatic
#210906 #56180E #8A2717 #BE3620 #DF533D

Accessibility & contrast

On white

8.81
#8A2717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A2717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2717
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2717#FFFFFF#000000##FFFFFF
##8A27171.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#5D5212
Tritanopia (blue-blind)
#980124
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2717;
/* rgb */ color: rgb(138, 39, 23);
/* oklch */ color: oklch(42.6% 0.137 31.9);
Tailwind
colors: {
  custom: {
    50: '#b46856',
    500: '#8a2717',
    950: '#000000',
  },
}
SCSS
$custom: #8a2717;
$custom-light: #b46856;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2717",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 8.348,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42621,
    "c": 0.13676,
    "h": 31.9
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#8A2717
secondary
#3FACBE
accent
#D5EE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2717

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

Preview Lab → · Contrast checker → · Palette generator →

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