#8A331C#8A331C

#8A331C is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.2% C 0.124 H 35.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8A331C
RGBrgb(138, 51, 28)
HSLhsl(13, 66%, 33%)
HSVhsv(13, 80%, 54%)
CMYKcmyk(0%, 63%, 79.7%, 45.9%)
CIE-LABlab(33.68, 35.82, 32.98)
CIE-LCHlch(33.68, 48.69, 42.64°)
OKLaboklab(44.19% 0.1009 0.0724)
OKLCHoklch(44.19% 0.124 35.7)
XYZxyz(11.8759, 7.8564, 1.9895)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A331C #1C738A
analogous
#8A1C3C #8A331C #8A6A1C
triadic
#8A331C #1C8A33 #331C8A
tetradic
#8A331C #3C8A1C #1C738A #6A1C8A
square
#8A331C #3C8A1C #1C738A #6A1C8A
split-complementary
#8A331C #1C8A6A #1C3C8A
monochromatic
#240D07 #572012 #8A331C #BD4626 #DA6547

Accessibility & contrast

On white

8.17
#8A331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A331C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A331C#FFFFFF#000000##FFFFFF
##8A331C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4319
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#981D2E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a331c;
/* rgb */ color: rgb(138, 51, 28);
/* oklch */ color: oklch(44.2% 0.124 35.7);
Tailwind
colors: {
  custom: {
    50: '#b36e5a',
    500: '#8a331c',
    950: '#000000',
  },
}
SCSS
$custom: #8a331c;
$custom-light: #b36e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a331c",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 12.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.12417,
    "h": 35.7
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#8A331C
secondary
#46A3BB
accent
#C6E93F
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A331C

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

Preview Lab → · Contrast checker → · Palette generator →

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