#8A311A#8A311A

#8A311A is a dark, vivid red. Relative luminance 0.077; OKLCH L 43.9% C 0.127 H 35.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8A311A
RGBrgb(138, 49, 26)
HSLhsl(12, 68%, 32%)
HSVhsv(12, 81%, 54%)
CMYKcmyk(0%, 64.5%, 81.2%, 45.9%)
CIE-LABlab(33.30, 36.70, 33.68)
CIE-LCHlch(33.30, 49.82, 42.54°)
OKLaboklab(43.89% 0.1032 0.0733)
OKLCHoklch(43.89% 0.127 35.4)
XYZxyz(11.7673, 7.6762, 1.8391)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A311A #1A738A
analogous
#8A1A3B #8A311A #8A691A
triadic
#8A311A #1A8A31 #311A8A
tetradic
#8A311A #3B8A1A #1A738A #691A8A
square
#8A311A #3B8A1A #1A738A #691A8A
split-complementary
#8A311A #1A8A69 #1A3B8A
monochromatic
#230C07 #571F10 #8A311A #BD4324 #DC6243

Accessibility & contrast

On white

8.28
#8A311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A311A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A311A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A311A#FFFFFF#000000##FFFFFF
##8A311A1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4217
Deuteranopia (green-blind)
#605617
Tritanopia (blue-blind)
#981A2C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a311a;
/* rgb */ color: rgb(138, 49, 26);
/* oklch */ color: oklch(43.9% 0.127 35.4);
Tailwind
colors: {
  custom: {
    50: '#b46d58',
    500: '#8a311a',
    950: '#000000',
  },
}
SCSS
$custom: #8a311a;
$custom-light: #b46d58;
$custom-dark: #000000;
JSON
{
  "hex": "#8a311a",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 12.321,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43892,
    "c": 0.12662,
    "h": 35.4
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#8A311A
secondary
#43A4BD
accent
#C7EB3D
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120703
muted
#817A78

Preview Lab

Preview with #8A311A

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

Preview Lab → · Contrast checker → · Palette generator →

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