#8B2228#8B2228

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

Color values

HEX#8B2228
RGBrgb(139, 34, 40)
HSLhsl(357, 61%, 34%)
HSVhsv(357, 76%, 55%)
CMYKcmyk(0%, 75.5%, 71.2%, 45.5%)
CIE-LABlab(31.32, 44.08, 23.22)
CIE-LCHlch(31.32, 49.82, 27.78°)
OKLaboklab(42.5% 0.1292 0.0538)
OKLCHoklch(42.5% 0.14 22.6)
XYZxyz(11.6038, 6.7880, 2.7063)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2228 #228B85
analogous
#8B225D #8B2228 #8B5122
triadic
#8B2228 #288B22 #22288B
tetradic
#8B2228 #5D8B22 #228B85 #51228B
square
#8B2228 #5D8B22 #228B85 #51228B
split-complementary
#8B2228 #228B51 #225D8B
monochromatic
#290A0C #5A161A #8B2228 #BC2E36 #D5535A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2228#FFFFFF#000000##FFFFFF
##8B22281.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)
#403B27
Deuteranopia (green-blind)
#5B5225
Tritanopia (blue-blind)
#990025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b2228;
/* rgb */ color: rgb(139, 34, 40);
/* oklch */ color: oklch(42.5% 0.140 22.6);
Tailwind
colors: {
  custom: {
    50: '#b46662',
    500: '#8b2228',
    950: '#000000',
  },
}
SCSS
$custom: #8b2228;
$custom-light: #b46662;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2228",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.425,
    "c": 0.14,
    "h": 22.6
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#8B2228
secondary
#50B8B3
accent
#E4DB44
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8B2228

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

Preview Lab → · Contrast checker → · Palette generator →

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