#8B1818#8B1818

#8B1818 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 26.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#8B1818
RGBrgb(139, 24, 24)
HSLhsl(0, 71%, 32%)
HSVhsv(0, 83%, 55%)
CMYKcmyk(0%, 82.7%, 82.7%, 45.5%)
CIE-LABlab(29.94, 46.69, 31.51)
CIE-LCHlch(29.94, 56.33, 34.01°)
OKLaboklab(41.4% 0.1339 0.0678)
OKLCHoklch(41.4% 0.15 26.8)
XYZxyz(11.1403, 6.2100, 1.4761)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1818 #188B8B
analogous
#8B1852 #8B1818 #8B5218
triadic
#8B1818 #188B18 #18188B
tetradic
#8B1818 #528B18 #188B8B #52188B
square
#8B1818 #528B18 #188B8B #52188B
split-complementary
#8B1818 #188B52 #18528B
monochromatic
#230606 #570F0F #8B1818 #BF2121 #DE3F3F

Accessibility & contrast

On white

9.37
#8B1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1818
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1818#FFFFFF#000000##FFFFFF
##8B18181.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3716
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#9A001A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8b1818;
/* rgb */ color: rgb(139, 24, 24);
/* oklch */ color: oklch(41.4% 0.150 26.8);
Tailwind
colors: {
  custom: {
    50: '#b66256',
    500: '#8b1818',
    950: '#000000',
  },
}
SCSS
$custom: #8b1818;
$custom-light: #b66256;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1818",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41405,
    "c": 0.15005,
    "h": 26.8
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#8B1818
secondary
#40BEBE
accent
#EDED3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B1818

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

Preview Lab → · Contrast checker → · Palette generator →

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