#8B2229#8B2229

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

Color values

HEX#8B2229
RGBrgb(139, 34, 41)
HSLhsl(356, 61%, 34%)
HSVhsv(356, 76%, 55%)
CMYKcmyk(0%, 75.5%, 70.5%, 45.5%)
CIE-LABlab(31.34, 44.13, 22.60)
CIE-LCHlch(31.34, 49.58, 27.12°)
OKLaboklab(42.52% 0.1296 0.0526)
OKLCHoklch(42.52% 0.14 22.1)
XYZxyz(11.6210, 6.7949, 2.7970)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2229 #228B84
analogous
#8B225E #8B2229 #8B5022
triadic
#8B2229 #298B22 #22298B
tetradic
#8B2229 #5E8B22 #228B84 #50228B
square
#8B2229 #5E8B22 #228B84 #50228B
split-complementary
#8B2229 #228B50 #225E8B
monochromatic
#290A0C #5A161A #8B2229 #BC2E38 #D5535B

Accessibility & contrast

On white

8.90
#8B2229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2229
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2229#FFFFFF#000000##FFFFFF
##8B22291.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B28
Deuteranopia (green-blind)
#5B5226
Tritanopia (blue-blind)
#990026
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b2229;
/* rgb */ color: rgb(139, 34, 41);
/* oklch */ color: oklch(42.5% 0.140 22.1);
Tailwind
colors: {
  custom: {
    50: '#b46662',
    500: '#8b2229',
    950: '#000000',
  },
}
SCSS
$custom: #8b2229;
$custom-light: #b46662;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2229",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 356,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42517,
    "c": 0.13991,
    "h": 22.1
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#8B2229
secondary
#50B8B2
accent
#E4D944
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8B2229

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

Preview Lab → · Contrast checker → · Palette generator →

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