#8A1E18#8A1E18

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

Color values

HEX#8A1E18
RGBrgb(138, 30, 24)
HSLhsl(3, 70%, 32%)
HSVhsv(3, 83%, 54%)
CMYKcmyk(0%, 78.3%, 82.6%, 45.9%)
CIE-LABlab(30.40, 44.49, 31.90)
CIE-LCHlch(30.40, 54.75, 35.64°)
OKLaboklab(41.71% 0.1271 0.0687)
OKLCHoklch(41.71% 0.144 28.4)
XYZxyz(11.1117, 6.3995, 1.5141)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E18 #18848A
analogous
#8A184B #8A1E18 #8A5718
triadic
#8A1E18 #188A1E #1E188A
tetradic
#8A1E18 #4B8A18 #18848A #57188A
square
#8A1E18 #4B8A18 #18848A #57188A
split-complementary
#8A1E18 #188A57 #184B8A
monochromatic
#220706 #56130F #8A1E18 #BE2921 #DE473F

Accessibility & contrast

On white

9.21
#8A1E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E18
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E18#FFFFFF#000000##FFFFFF
##8A1E181.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1e18;
/* rgb */ color: rgb(138, 30, 24);
/* oklch */ color: oklch(41.7% 0.144 28.4);
Tailwind
colors: {
  custom: {
    50: '#b56456',
    500: '#8a1e18',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e18;
$custom-light: #b56456;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e18",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 3.158,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.14446,
    "h": 28.4
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#8A1E18
secondary
#40B7BD
accent
#E4ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1E18

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

Preview Lab → · Contrast checker → · Palette generator →

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