#8B2118#8B2118

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

Color values

HEX#8B2118
RGBrgb(139, 33, 24)
HSLhsl(5, 71%, 32%)
HSVhsv(5, 83%, 55%)
CMYKcmyk(0%, 76.3%, 82.7%, 45.5%)
CIE-LABlab(30.98, 43.76, 32.55)
CIE-LCHlch(30.98, 54.54, 36.64°)
OKLaboklab(42.19% 0.1247 0.0701)
OKLCHoklch(42.19% 0.143 29.3)
XYZxyz(11.3575, 6.6444, 1.5485)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2118 #18828B
analogous
#8B1848 #8B2118 #8B5B18
triadic
#8B2118 #188B21 #21188B
tetradic
#8B2118 #488B18 #18828B #5B188B
square
#8B2118 #488B18 #18828B #5B188B
split-complementary
#8B2118 #188B5B #18488B
monochromatic
#230806 #57150F #8B2118 #BF2D21 #DE4C3F

Accessibility & contrast

On white

9.02
#8B2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8B2118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2118
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2118#FFFFFF#000000##FFFFFF
##8B21181.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A16
Deuteranopia (green-blind)
#5C5113
Tritanopia (blue-blind)
#9A0020
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b2118;
/* rgb */ color: rgb(139, 33, 24);
/* oklch */ color: oklch(42.2% 0.143 29.3);
Tailwind
colors: {
  custom: {
    50: '#b56556',
    500: '#8b2118',
    950: '#000000',
  },
}
SCSS
$custom: #8b2118;
$custom-light: #b56556;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2118",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 4.696,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.143,
    "h": 29.3
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#8B2118
secondary
#40B4BE
accent
#DFED3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B2118

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

Preview Lab → · Contrast checker → · Palette generator →

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