#8A2818#8A2818

#8A2818 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.7% C 0.136 H 31.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8A2818
RGBrgb(138, 40, 24)
HSLhsl(8, 70%, 32%)
HSVhsv(8, 83%, 54%)
CMYKcmyk(0%, 71%, 82.6%, 45.9%)
CIE-LABlab(31.78, 40.67, 33.27)
CIE-LCHlch(31.78, 52.55, 39.28°)
OKLaboklab(42.75% 0.1152 0.0717)
OKLCHoklch(42.75% 0.136 31.9)
XYZxyz(11.4062, 6.9885, 1.6123)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2818 #187A8A
analogous
#8A1841 #8A2818 #8A6118
triadic
#8A2818 #188A28 #28188A
tetradic
#8A2818 #418A18 #187A8A #61188A
square
#8A2818 #418A18 #187A8A #61188A
split-complementary
#8A2818 #188A61 #18418A
monochromatic
#220A06 #56190F #8A2818 #BE3721 #DE553F

Accessibility & contrast

On white

8.76
#8A2818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A2818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2818
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2818#FFFFFF#000000##FFFFFF
##8A28181.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#5D5314
Tritanopia (blue-blind)
#980425
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2818;
/* rgb */ color: rgb(138, 40, 24);
/* oklch */ color: oklch(42.7% 0.136 31.9);
Tailwind
colors: {
  custom: {
    50: '#b46856',
    500: '#8a2818',
    950: '#000000',
  },
}
SCSS
$custom: #8a2818;
$custom-light: #b46856;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2818",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 8.421,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42745,
    "c": 0.13566,
    "h": 31.9
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#8A2818
secondary
#40ACBD
accent
#D4ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2818

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

Preview Lab → · Contrast checker → · Palette generator →

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