#8A1717#8A1717

#8A1717 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.150 H 26.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#8A1717
RGBrgb(138, 23, 23)
HSLhsl(0, 71%, 32%)
HSVhsv(0, 83%, 54%)
CMYKcmyk(0%, 83.3%, 83.3%, 45.9%)
CIE-LABlab(29.61, 46.64, 31.70)
CIE-LCHlch(29.61, 56.39, 34.21°)
OKLaboklab(41.13% 0.1336 0.0679)
OKLCHoklch(41.13% 0.15 26.9)
XYZxyz(10.9436, 6.0797, 1.4077)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1717 #178A8A
analogous
#8A1751 #8A1717 #8A5117
triadic
#8A1717 #178A17 #17178A
tetradic
#8A1717 #518A17 #178A8A #51178A
square
#8A1717 #518A17 #178A8A #51178A
split-complementary
#8A1717 #178A51 #17518A
monochromatic
#210606 #560E0E #8A1717 #BE2020 #DF3D3D

Accessibility & contrast

On white

9.48
#8A1717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1717
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1717#FFFFFF#000000##FFFFFF
##8A17171.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1717;
/* rgb */ color: rgb(138, 23, 23);
/* oklch */ color: oklch(41.1% 0.150 26.9);
Tailwind
colors: {
  custom: {
    50: '#b56155',
    500: '#8a1717',
    950: '#000000',
  },
}
SCSS
$custom: #8a1717;
$custom-light: #b56155;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1717",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 23
  },
  "hsl": {
    "h": 0,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.14988,
    "h": 26.9
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#8A1717
secondary
#3FBEBE
accent
#EEEE3A
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130503
muted
#827A78

Preview Lab

Preview with #8A1717

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

Preview Lab → · Contrast checker → · Palette generator →

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