#8B2817#8B2817

#8B2817 is a dark, vivid red. Relative luminance 0.071; OKLCH L 42.9% C 0.137 H 32.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8B2817
RGBrgb(139, 40, 23)
HSLhsl(9, 72%, 32%)
HSVhsv(9, 83%, 55%)
CMYKcmyk(0%, 71.2%, 83.5%, 45.5%)
CIE-LABlab(31.97, 40.99, 34.06)
CIE-LCHlch(31.97, 53.30, 39.72°)
OKLaboklab(42.92% 0.1159 0.073)
OKLCHoklch(42.92% 0.137 32.2)
XYZxyz(11.5623, 7.0702, 1.5663)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2817 #177A8B
analogous
#8B1740 #8B2817 #8B6217
triadic
#8B2817 #178B28 #28178B
tetradic
#8B2817 #408B17 #177A8B #62178B
square
#8B2817 #408B17 #177A8B #62178B
split-complementary
#8B2817 #178B62 #17408B
monochromatic
#220A06 #56190E #8B2817 #C03720 #DF553D

Accessibility & contrast

On white

8.70
#8B2817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8B2817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2817
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2817#FFFFFF#000000##FFFFFF
##8B28171.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D14
Deuteranopia (green-blind)
#5E5312
Tritanopia (blue-blind)
#9A0325
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b2817;
/* rgb */ color: rgb(139, 40, 23);
/* oklch */ color: oklch(42.9% 0.137 32.2);
Tailwind
colors: {
  custom: {
    50: '#b56856',
    500: '#8b2817',
    950: '#000000',
  },
}
SCSS
$custom: #8b2817;
$custom-light: #b56856;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2817",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 8.793,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.13694,
    "h": 32.2
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#8B2817
secondary
#3FACBF
accent
#D4EE39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8B2817

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

Preview Lab → · Contrast checker → · Palette generator →

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