#8B2217#8B2217

#8B2217 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.142 H 30.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8B2217
RGBrgb(139, 34, 23)
HSLhsl(6, 72%, 32%)
HSVhsv(6, 83%, 55%)
CMYKcmyk(0%, 75.5%, 83.5%, 45.5%)
CIE-LABlab(31.11, 43.36, 33.23)
CIE-LCHlch(31.11, 54.63, 37.47°)
OKLaboklab(42.27% 0.1232 0.0712)
OKLCHoklch(42.27% 0.142 30)
XYZxyz(11.3755, 6.6967, 1.5041)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2217 #17808B
analogous
#8B1746 #8B2217 #8B5C17
triadic
#8B2217 #178B22 #22178B
tetradic
#8B2217 #468B17 #17808B #5C178B
square
#8B2217 #468B17 #17808B #5C178B
split-complementary
#8B2217 #178B5C #17468B
monochromatic
#220806 #56150E #8B2217 #C02F20 #DF4D3D

Accessibility & contrast

On white

8.98
#8B2217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2217
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2217#FFFFFF#000000##FFFFFF
##8B22171.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A14
Deuteranopia (green-blind)
#5C5212
Tritanopia (blue-blind)
#9A0021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b2217;
/* rgb */ color: rgb(139, 34, 23);
/* oklch */ color: oklch(42.3% 0.142 30.0);
Tailwind
colors: {
  custom: {
    50: '#b56655',
    500: '#8b2217',
    950: '#000000',
  },
}
SCSS
$custom: #8b2217;
$custom-light: #b56655;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2217",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 5.69,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.1423,
    "h": 30
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#8B2217
secondary
#3FB2BF
accent
#DDEE39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8B2217

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

Preview Lab → · Contrast checker → · Palette generator →

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