#8A1C17#8A1C17

#8A1C17 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.146 H 28.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#8A1C17
RGBrgb(138, 28, 23)
HSLhsl(3, 71%, 32%)
HSVhsv(3, 83%, 54%)
CMYKcmyk(0%, 79.7%, 83.3%, 45.9%)
CIE-LABlab(30.15, 45.12, 32.23)
CIE-LCHlch(30.15, 55.45, 35.54°)
OKLaboklab(41.52% 0.1289 0.0691)
OKLCHoklch(41.52% 0.146 28.2)
XYZxyz(11.0525, 6.2974, 1.4440)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C17 #17858A
analogous
#8A174C #8A1C17 #8A5617
triadic
#8A1C17 #178A1C #1C178A
tetradic
#8A1C17 #4C8A17 #17858A #56178A
square
#8A1C17 #4C8A17 #17858A #56178A
split-complementary
#8A1C17 #178A56 #174C8A
monochromatic
#210706 #56110E #8A1C17 #BE2720 #DF443D

Accessibility & contrast

On white

9.30
#8A1C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C17
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C17#FFFFFF#000000##FFFFFF
##8A1C171.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#5A5011
Tritanopia (blue-blind)
#99001C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1c17;
/* rgb */ color: rgb(138, 28, 23);
/* oklch */ color: oklch(41.5% 0.146 28.2);
Tailwind
colors: {
  custom: {
    50: '#b56355',
    500: '#8a1c17',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c17;
$custom-light: #b56355;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c17",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 23
  },
  "hsl": {
    "h": 2.609,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.1462,
    "h": 28.2
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#8A1C17
secondary
#3FB8BE
accent
#E6EE3A
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1C17

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

Preview Lab → · Contrast checker → · Palette generator →

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