#8B2127#8B2127

#8B2127 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.141 H 22.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8B2127
RGBrgb(139, 33, 39)
HSLhsl(357, 62%, 34%)
HSVhsv(357, 76%, 55%)
CMYKcmyk(0%, 76.3%, 71.9%, 45.5%)
CIE-LABlab(31.17, 44.39, 23.68)
CIE-LCHlch(31.17, 50.31, 28.07°)
OKLaboklab(42.39% 0.13 0.0547)
OKLCHoklch(42.39% 0.141 22.8)
XYZxyz(11.5588, 6.7249, 2.6085)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2127 #218B85
analogous
#8B215C #8B2127 #8B5021
triadic
#8B2127 #278B21 #21278B
tetradic
#8B2127 #5C8B21 #218B85 #50218B
square
#8B2127 #5C8B21 #218B85 #50218B
split-complementary
#8B2127 #218B50 #215C8B
monochromatic
#280A0B #5A1519 #8B2127 #BC2D35 #D65158

Accessibility & contrast

On white

8.96
#8B2127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8B2127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2127
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2127#FFFFFF#000000##FFFFFF
##8B21271.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#5A5224
Tritanopia (blue-blind)
#990024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b2127;
/* rgb */ color: rgb(139, 33, 39);
/* oklch */ color: oklch(42.4% 0.141 22.8);
Tailwind
colors: {
  custom: {
    50: '#b46561',
    500: '#8b2127',
    950: '#000000',
  },
}
SCSS
$custom: #8b2127;
$custom-light: #b46561;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2127",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 356.604,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42386,
    "c": 0.14103,
    "h": 22.8
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#8B2127
secondary
#4FB9B3
accent
#E5DC43
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8B2127

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

Preview Lab → · Contrast checker → · Palette generator →

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