#8A2118#8A2118

#8A2118 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.142 H 29.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8A2118
RGBrgb(138, 33, 24)
HSLhsl(5, 70%, 32%)
HSVhsv(5, 83%, 54%)
CMYKcmyk(0%, 76.1%, 82.6%, 45.9%)
CIE-LABlab(30.78, 43.43, 32.28)
CIE-LCHlch(30.78, 54.11, 36.63°)
OKLaboklab(42% 0.1237 0.0696)
OKLCHoklch(42% 0.142 29.3)
XYZxyz(11.1913, 6.5587, 1.5407)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2118 #18818A
analogous
#8A1848 #8A2118 #8A5A18
triadic
#8A2118 #188A21 #21188A
tetradic
#8A2118 #488A18 #18818A #5A188A
square
#8A2118 #488A18 #18818A #5A188A
split-complementary
#8A2118 #188A5A #18488A
monochromatic
#220806 #56150F #8A2118 #BE2D21 #DE4B3F

Accessibility & contrast

On white

9.09
#8A2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A2118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2118
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2118#FFFFFF#000000##FFFFFF
##8A21181.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A16
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#990020
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a2118;
/* rgb */ color: rgb(138, 33, 24);
/* oklch */ color: oklch(42.0% 0.142 29.3);
Tailwind
colors: {
  custom: {
    50: '#b56556',
    500: '#8a2118',
    950: '#000000',
  },
}
SCSS
$custom: #8a2118;
$custom-light: #b56556;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2118",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 4.737,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41997,
    "c": 0.14195,
    "h": 29.3
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#8A2118
secondary
#40B4BD
accent
#DFED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2118

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

Preview Lab → · Contrast checker → · Palette generator →

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