#8B2227#8B2227

#8B2227 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.140 H 23.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#8B2227
RGBrgb(139, 34, 39)
HSLhsl(357, 61%, 34%)
HSVhsv(357, 76%, 55%)
CMYKcmyk(0%, 75.5%, 71.9%, 45.5%)
CIE-LABlab(31.30, 44.03, 23.83)
CIE-LCHlch(31.30, 50.06, 28.43°)
OKLaboklab(42.48% 0.1288 0.055)
OKLCHoklch(42.48% 0.14 23.1)
XYZxyz(11.5870, 6.7813, 2.6179)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2227 #228B86
analogous
#8B225C #8B2227 #8B5222
triadic
#8B2227 #278B22 #22278B
tetradic
#8B2227 #5C8B22 #228B86 #52228B
square
#8B2227 #5C8B22 #228B86 #52228B
split-complementary
#8B2227 #228B52 #225C8B
monochromatic
#290A0B #5A1619 #8B2227 #BC2E35 #D55359

Accessibility & contrast

On white

8.91
#8B2227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8B2227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2227
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2227#FFFFFF#000000##FFFFFF
##8B22271.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#5B5224
Tritanopia (blue-blind)
#990025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b2227;
/* rgb */ color: rgb(139, 34, 39);
/* oklch */ color: oklch(42.5% 0.140 23.1);
Tailwind
colors: {
  custom: {
    50: '#b46661',
    500: '#8b2227',
    950: '#000000',
  },
}
SCSS
$custom: #8b2227;
$custom-light: #b46661;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2227",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42483,
    "c": 0.1401,
    "h": 23.1
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#8B2227
secondary
#50B8B4
accent
#E4DC44
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8B2227

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

Preview Lab → · Contrast checker → · Palette generator →

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