#8A1E17#8A1E17

#8A1E17 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.145 H 28.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#8A1E17
RGBrgb(138, 30, 23)
HSLhsl(4, 71%, 32%)
HSVhsv(4, 83%, 54%)
CMYKcmyk(0%, 78.3%, 83.3%, 45.9%)
CIE-LABlab(30.39, 44.46, 32.46)
CIE-LCHlch(30.39, 55.05, 36.14°)
OKLaboklab(41.7% 0.1268 0.0696)
OKLCHoklch(41.7% 0.145 28.8)
XYZxyz(11.1015, 6.3955, 1.4604)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E17 #17838A
analogous
#8A174A #8A1E17 #8A5817
triadic
#8A1E17 #178A1E #1E178A
tetradic
#8A1E17 #4A8A17 #17838A #58178A
square
#8A1E17 #4A8A17 #17838A #58178A
split-complementary
#8A1E17 #178A58 #174A8A
monochromatic
#210706 #56130E #8A1E17 #BE2920 #DF473D

Accessibility & contrast

On white

9.22
#8A1E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E17
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E17#FFFFFF#000000##FFFFFF
##8A1E171.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403815
Deuteranopia (green-blind)
#5A5012
Tritanopia (blue-blind)
#99001E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e17;
/* rgb */ color: rgb(138, 30, 23);
/* oklch */ color: oklch(41.7% 0.145 28.8);
Tailwind
colors: {
  custom: {
    50: '#b56455',
    500: '#8a1e17',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e17;
$custom-light: #b56455;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e17",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 3.652,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.1446,
    "h": 28.8
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#8A1E17
secondary
#3FB6BE
accent
#E3EE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1E17

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

Preview Lab → · Contrast checker → · Palette generator →

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