#8A1D18#8A1D18

#8A1D18 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.145 H 28.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#8A1D18
RGBrgb(138, 29, 24)
HSLhsl(3, 70%, 32%)
HSVhsv(3, 83%, 54%)
CMYKcmyk(0%, 79%, 82.6%, 45.9%)
CIE-LABlab(30.28, 44.83, 31.78)
CIE-LCHlch(30.28, 54.95, 35.34°)
OKLaboklab(41.62% 0.1281 0.0685)
OKLCHoklch(41.62% 0.145 28.1)
XYZxyz(11.0868, 6.3497, 1.5058)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D18 #18858A
analogous
#8A184C #8A1D18 #8A5618
triadic
#8A1D18 #188A1D #1D188A
tetradic
#8A1D18 #4C8A18 #18858A #56188A
square
#8A1D18 #4C8A18 #18858A #56188A
split-complementary
#8A1D18 #188A56 #184C8A
monochromatic
#220706 #56120F #8A1D18 #BE2821 #DE463F

Accessibility & contrast

On white

9.25
#8A1D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D18
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D18#FFFFFF#000000##FFFFFF
##8A1D181.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#99001D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1d18;
/* rgb */ color: rgb(138, 29, 24);
/* oklch */ color: oklch(41.6% 0.145 28.1);
Tailwind
colors: {
  custom: {
    50: '#b56356',
    500: '#8a1d18',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d18;
$custom-light: #b56356;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d18",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 24
  },
  "hsl": {
    "h": 2.632,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.14527,
    "h": 28.1
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#8A1D18
secondary
#40B8BD
accent
#E5ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1D18

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

Preview Lab → · Contrast checker → · Palette generator →

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