#8A1718#8A1718

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

Color values

HEX#8A1718
RGBrgb(138, 23, 24)
HSLhsl(359, 71%, 32%)
HSVhsv(359, 83%, 54%)
CMYKcmyk(0%, 83.3%, 82.6%, 45.9%)
CIE-LABlab(29.62, 46.67, 31.13)
CIE-LCHlch(29.62, 56.10, 33.70°)
OKLaboklab(41.14% 0.1339 0.067)
OKLCHoklch(41.14% 0.15 26.6)
XYZxyz(10.9539, 6.0838, 1.4615)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1718 #178A89
analogous
#8A1752 #8A1718 #8A5017
triadic
#8A1718 #188A17 #17188A
tetradic
#8A1718 #528A17 #178A89 #50178A
square
#8A1718 #528A17 #178A89 #50178A
split-complementary
#8A1718 #178A50 #17528A
monochromatic
#210606 #560E0F #8A1718 #BE2021 #DF3D3E

Accessibility & contrast

On white

9.47
#8A1718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1718
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1718#FFFFFF#000000##FFFFFF
##8A17181.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3616
Deuteranopia (green-blind)
#584F12
Tritanopia (blue-blind)
#990019
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1718;
/* rgb */ color: rgb(138, 23, 24);
/* oklch */ color: oklch(41.1% 0.150 26.6);
Tailwind
colors: {
  custom: {
    50: '#b56155',
    500: '#8a1718',
    950: '#000000',
  },
}
SCSS
$custom: #8a1718;
$custom-light: #b56155;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1718",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 359.478,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.14976,
    "h": 26.6
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#8A1718
secondary
#3FBEBD
accent
#EEED3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130503
muted
#827A78

Preview Lab

Preview with #8A1718

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

Preview Lab → · Contrast checker → · Palette generator →

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