#8A2218#8A2218

#8A2218 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 29.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8A2218
RGBrgb(138, 34, 24)
HSLhsl(5, 70%, 32%)
HSVhsv(5, 83%, 54%)
CMYKcmyk(0%, 75.4%, 82.6%, 45.9%)
CIE-LABlab(30.91, 43.06, 32.41)
CIE-LCHlch(30.91, 53.89, 36.97°)
OKLaboklab(42.1% 0.1226 0.0699)
OKLCHoklch(42.1% 0.141 29.7)
XYZxyz(11.2195, 6.6150, 1.5501)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2218 #18808A
analogous
#8A1847 #8A2218 #8A5B18
triadic
#8A2218 #188A22 #22188A
tetradic
#8A2218 #478A18 #18808A #5B188A
square
#8A2218 #478A18 #18808A #5B188A
split-complementary
#8A2218 #188A5B #18478A
monochromatic
#220806 #56150F #8A2218 #BE2F21 #DE4D3F

Accessibility & contrast

On white

9.04
#8A2218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A2218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2218
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2218#FFFFFF#000000##FFFFFF
##8A22181.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A16
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2218;
/* rgb */ color: rgb(138, 34, 24);
/* oklch */ color: oklch(42.1% 0.141 29.7);
Tailwind
colors: {
  custom: {
    50: '#b56556',
    500: '#8a2218',
    950: '#000000',
  },
}
SCSS
$custom: #8a2218;
$custom-light: #b56556;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2218",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 5.263,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.14108,
    "h": 29.7
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#8A2218
secondary
#40B2BD
accent
#DDED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2218

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

Preview Lab → · Contrast checker → · Palette generator →

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