#8A2817#8A2817

#8A2817 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.7% C 0.136 H 32.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8A2817
RGBrgb(138, 40, 23)
HSLhsl(9, 71%, 32%)
HSVhsv(9, 83%, 54%)
CMYKcmyk(0%, 71%, 83.3%, 45.9%)
CIE-LABlab(31.77, 40.64, 33.80)
CIE-LCHlch(31.77, 52.86, 39.75°)
OKLaboklab(42.74% 0.1149 0.0725)
OKLCHoklch(42.74% 0.136 32.3)
XYZxyz(11.3960, 6.9844, 1.5585)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2817 #17798A
analogous
#8A173F #8A2817 #8A6217
triadic
#8A2817 #178A28 #28178A
tetradic
#8A2817 #3F8A17 #17798A #62178A
square
#8A2817 #3F8A17 #17798A #62178A
split-complementary
#8A2817 #178A62 #173F8A
monochromatic
#210A06 #56190E #8A2817 #BE3720 #DF553D

Accessibility & contrast

On white

8.76
#8A2817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A2817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2817
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2817#FFFFFF#000000##FFFFFF
##8A28171.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2817;
/* rgb */ color: rgb(138, 40, 23);
/* oklch */ color: oklch(42.7% 0.136 32.3);
Tailwind
colors: {
  custom: {
    50: '#b46856',
    500: '#8a2817',
    950: '#000000',
  },
}
SCSS
$custom: #8a2817;
$custom-light: #b46856;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2817",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 8.87,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.13584,
    "h": 32.3
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#8A2817
secondary
#3FABBE
accent
#D3EE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2817

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

Preview Lab → · Contrast checker → · Palette generator →

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