#8B1F2A#8B1F2A

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

Color values

HEX#8B1F2A
RGBrgb(139, 31, 42)
HSLhsl(354, 64%, 33%)
HSVhsv(354, 78%, 55%)
CMYKcmyk(0%, 77.7%, 69.8%, 45.5%)
CIE-LABlab(30.97, 45.26, 21.51)
CIE-LCHlch(30.97, 50.11, 25.42°)
OKLaboklab(42.25% 0.1334 0.0504)
OKLCHoklch(42.25% 0.143 20.7)
XYZxyz(11.5566, 6.6379, 2.8628)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F2A #1F8B80
analogous
#8B1F60 #8B1F2A #8B4A1F
triadic
#8B1F2A #2A8B1F #1F2A8B
tetradic
#8B1F2A #608B1F #1F8B80 #4A1F8B
square
#8B1F2A #608B1F #1F8B80 #4A1F8B
split-complementary
#8B1F2A #1F8B4A #1F608B
monochromatic
#27090C #59141B #8B1F2A #BD2A39 #D74D5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1F2A#FFFFFF#000000##FFFFFF
##8B1F2A1.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)
#3F3A2A
Deuteranopia (green-blind)
#5A5127
Tritanopia (blue-blind)
#990024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1f2a;
/* rgb */ color: rgb(139, 31, 42);
/* oklch */ color: oklch(42.2% 0.143 20.7);
Tailwind
colors: {
  custom: {
    50: '#b46563',
    500: '#8b1f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f2a;
$custom-light: #b46563;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f2a",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 353.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42249,
    "c": 0.14263,
    "h": 20.7
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#8B1F2A
secondary
#4CBAAF
accent
#E7D641
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8B1F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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