#8B1F2F#8B1F2F

#8B1F2F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.142 H 18.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8B1F2F
RGBrgb(139, 31, 47)
HSLhsl(351, 64%, 33%)
HSVhsv(351, 78%, 55%)
CMYKcmyk(0%, 77.7%, 66.2%, 45.5%)
CIE-LABlab(31.06, 45.55, 18.38)
CIE-LCHlch(31.06, 49.12, 21.97°)
OKLaboklab(42.35% 0.1355 0.044)
OKLCHoklch(42.35% 0.142 18)
XYZxyz(11.6518, 6.6759, 3.3638)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F2F #1F8B7B
analogous
#8B1F65 #8B1F2F #8B451F
triadic
#8B1F2F #2F8B1F #1F2F8B
tetradic
#8B1F2F #658B1F #1F8B7B #451F8B
square
#8B1F2F #658B1F #1F8B7B #451F8B
split-complementary
#8B1F2F #1F8B45 #1F658B
monochromatic
#27090D #59141E #8B1F2F #BD2A40 #D74D62

Accessibility & contrast

On white

8.99
#8B1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1F2F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F2F#FFFFFF#000000##FFFFFF
##8B1F2F1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2F
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#990026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1f2f;
/* rgb */ color: rgb(139, 31, 47);
/* oklch */ color: oklch(42.3% 0.142 18.0);
Tailwind
colors: {
  custom: {
    50: '#b46567',
    500: '#8b1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f2f;
$custom-light: #b46567;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f2f",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 351.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42345,
    "c": 0.14244,
    "h": 18
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#8B1F2F
secondary
#4CBAAA
accent
#E7CE41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8B1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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