#8A182A#8A182A

#8A182A is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.5% C 0.148 H 18.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#8A182A
RGBrgb(138, 24, 42)
HSLhsl(351, 70%, 32%)
HSVhsv(351, 83%, 54%)
CMYKcmyk(0%, 82.6%, 69.6%, 45.9%)
CIE-LABlab(29.97, 47.16, 20.23)
CIE-LCHlch(29.97, 51.32, 23.22°)
OKLaboklab(41.48% 0.1397 0.0475)
OKLCHoklch(41.48% 0.148 18.8)
XYZxyz(11.2271, 6.2255, 2.8005)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A182A #188A78
analogous
#8A1863 #8A182A #8A3F18
triadic
#8A182A #2A8A18 #182A8A
tetradic
#8A182A #638A18 #188A78 #3F188A
square
#8A182A #638A18 #188A78 #3F188A
split-complementary
#8A182A #188A3F #18638A
monochromatic
#22060A #560F1A #8A182A #BE213A #DE3F58

Accessibility & contrast

On white

9.35
#8A182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8A182A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A182A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A182A#FFFFFF#000000##FFFFFF
##8A182A1.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B372A
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a182a;
/* rgb */ color: rgb(138, 24, 42);
/* oklch */ color: oklch(41.5% 0.148 18.8);
Tailwind
colors: {
  custom: {
    50: '#b46263',
    500: '#8a182a',
    950: '#000000',
  },
}
SCSS
$custom: #8a182a;
$custom-light: #b46263;
$custom-dark: #000000;
JSON
{
  "hex": "#8a182a",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 350.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41476,
    "c": 0.14756,
    "h": 18.8
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#8A182A
secondary
#40BDAA
accent
#EDD13B
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A182A

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

Preview Lab → · Contrast checker → · Palette generator →

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