#8A2517#8A2517

#8A2517 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.4% C 0.139 H 31.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#8A2517
RGBrgb(138, 37, 23)
HSLhsl(7, 71%, 32%)
HSVhsv(7, 83%, 54%)
CMYKcmyk(0%, 73.2%, 83.3%, 45.9%)
CIE-LABlab(31.32, 41.87, 33.37)
CIE-LCHlch(31.32, 53.54, 38.56°)
OKLaboklab(42.4% 0.1187 0.0716)
OKLCHoklch(42.4% 0.139 31.1)
XYZxyz(11.2988, 6.7900, 1.5261)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2517 #177C8A
analogous
#8A1743 #8A2517 #8A5F17
triadic
#8A2517 #178A25 #25178A
tetradic
#8A2517 #438A17 #177C8A #5F178A
square
#8A2517 #438A17 #177C8A #5F178A
split-complementary
#8A2517 #178A5F #17438A
monochromatic
#210906 #56170E #8A2517 #BE3320 #DF503D

Accessibility & contrast

On white

8.91
#8A2517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A2517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2517
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2517#FFFFFF#000000##FFFFFF
##8A25171.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#5C5212
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2517;
/* rgb */ color: rgb(138, 37, 23);
/* oklch */ color: oklch(42.4% 0.139 31.1);
Tailwind
colors: {
  custom: {
    50: '#b46755',
    500: '#8a2517',
    950: '#000000',
  },
}
SCSS
$custom: #8a2517;
$custom-light: #b46755;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2517",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 7.304,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.424,
    "c": 0.13859,
    "h": 31.1
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#8A2517
secondary
#3FAEBE
accent
#D8EE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2517

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

Preview Lab → · Contrast checker → · Palette generator →

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