#8B1F18#8B1F18

#8B1F18 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.145 H 28.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8B1F18
RGBrgb(139, 31, 24)
HSLhsl(4, 71%, 32%)
HSVhsv(4, 83%, 55%)
CMYKcmyk(0%, 77.7%, 82.7%, 45.5%)
CIE-LABlab(30.73, 44.47, 32.30)
CIE-LCHlch(30.73, 54.96, 35.99°)
OKLaboklab(41.99% 0.1269 0.0695)
OKLCHoklch(41.99% 0.145 28.7)
XYZxyz(11.3037, 6.5367, 1.5305)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F18 #18848B
analogous
#8B184B #8B1F18 #8B5918
triadic
#8B1F18 #188B1F #1F188B
tetradic
#8B1F18 #4B8B18 #18848B #59188B
square
#8B1F18 #4B8B18 #18848B #59188B
split-complementary
#8B1F18 #188B59 #184B8B
monochromatic
#230806 #57130F #8B1F18 #BF2B21 #DE493F

Accessibility & contrast

On white

9.10
#8B1F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1F18
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F18#FFFFFF#000000##FFFFFF
##8B1F181.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403916
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#9A001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b1f18;
/* rgb */ color: rgb(139, 31, 24);
/* oklch */ color: oklch(42.0% 0.145 28.7);
Tailwind
colors: {
  custom: {
    50: '#b56456',
    500: '#8b1f18',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f18;
$custom-light: #b56456;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f18",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 3.652,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.14467,
    "h": 28.7
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#8B1F18
secondary
#40B7BE
accent
#E2ED3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B1F18

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

Preview Lab → · Contrast checker → · Palette generator →

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