#8A1817#8A1817

#8A1817 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.149 H 27.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#8A1817
RGBrgb(138, 24, 23)
HSLhsl(1, 71%, 32%)
HSVhsv(1, 83%, 54%)
CMYKcmyk(0%, 82.6%, 83.3%, 45.9%)
CIE-LABlab(29.71, 46.35, 31.80)
CIE-LCHlch(29.71, 56.21, 34.45°)
OKLaboklab(41.2% 0.1327 0.0681)
OKLCHoklch(41.2% 0.149 27.2)
XYZxyz(10.9639, 6.1202, 1.4145)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1817 #17898A
analogous
#8A1750 #8A1817 #8A5217
triadic
#8A1817 #178A18 #18178A
tetradic
#8A1817 #508A17 #17898A #52178A
square
#8A1817 #508A17 #17898A #52178A
split-complementary
#8A1817 #178A52 #17508A
monochromatic
#210606 #560F0E #8A1817 #BE2120 #DF3E3D

Accessibility & contrast

On white

9.44
#8A1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#8A1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1817
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1817#FFFFFF#000000##FFFFFF
##8A18171.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3615
Deuteranopia (green-blind)
#594F11
Tritanopia (blue-blind)
#99001A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1817;
/* rgb */ color: rgb(138, 24, 23);
/* oklch */ color: oklch(41.2% 0.149 27.2);
Tailwind
colors: {
  custom: {
    50: '#b56155',
    500: '#8a1817',
    950: '#000000',
  },
}
SCSS
$custom: #8a1817;
$custom-light: #b56155;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1817",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.522,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.412,
    "c": 0.14918,
    "h": 27.2
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#8A1817
secondary
#3FBDBE
accent
#EDEE3A
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1817

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

Preview Lab → · Contrast checker → · Palette generator →

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