#8B1F27#8B1F27

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

Color values

HEX#8B1F27
RGBrgb(139, 31, 39)
HSLhsl(356, 64%, 33%)
HSVhsv(356, 78%, 55%)
CMYKcmyk(0%, 77.7%, 71.9%, 45.5%)
CIE-LABlab(30.92, 45.10, 23.37)
CIE-LCHlch(30.92, 50.79, 27.40°)
OKLaboklab(42.2% 0.1323 0.054)
OKLCHoklch(42.2% 0.143 22.2)
XYZxyz(11.5050, 6.6172, 2.5905)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F27 #1F8B83
analogous
#8B1F5D #8B1F27 #8B4D1F
triadic
#8B1F27 #278B1F #1F278B
tetradic
#8B1F27 #5D8B1F #1F8B83 #4D1F8B
square
#8B1F27 #5D8B1F #1F8B83 #4D1F8B
split-complementary
#8B1F27 #1F8B4D #1F5D8B
monochromatic
#27090B #591419 #8B1F27 #BD2A35 #D74D57

Accessibility & contrast

On white

9.04
#8B1F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8B1F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F27
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F27#FFFFFF#000000##FFFFFF
##8B1F271.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A26
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#990023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1f27;
/* rgb */ color: rgb(139, 31, 39);
/* oklch */ color: oklch(42.2% 0.143 22.2);
Tailwind
colors: {
  custom: {
    50: '#b46561',
    500: '#8b1f27',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f27;
$custom-light: #b46561;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f27",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 355.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42197,
    "c": 0.14285,
    "h": 22.2
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#8B1F27
secondary
#4CBAB2
accent
#E7DA41
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8B1F27

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

Preview Lab → · Contrast checker → · Palette generator →

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