#A8311B#A8311B

#A8311B is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.1% C 0.159 H 32.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A8311B
RGBrgb(168, 49, 27)
HSLhsl(9, 72%, 38%)
HSVhsv(9, 84%, 66%)
CMYKcmyk(0%, 70.8%, 83.9%, 34.1%)
CIE-LABlab(38.90, 47.50, 40.48)
CIE-LCHlch(38.90, 62.41, 40.44°)
OKLaboklab(49.15% 0.1338 0.0858)
OKLCHoklch(49.15% 0.159 32.7)
XYZxyz(17.4467, 10.6033, 2.1647)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8311B #1B92A8
analogous
#A81B4B #A8311B #A8771B
triadic
#A8311B #1BA831 #311BA8
tetradic
#A8311B #4BA81B #1B92A8 #771BA8
square
#A8311B #4BA81B #1B92A8 #771BA8
split-complementary
#A8311B #1BA877 #1B4BA8
monochromatic
#3F120A #732213 #A8311B #DC4124 #E46F59

Accessibility & contrast

On white

6.73
#A8311B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A8311B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8311B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8311B#FFFFFF#000000##FFFFFF
##A8311B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B17
Deuteranopia (green-blind)
#726515
Tritanopia (blue-blind)
#B9002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a8311b;
/* rgb */ color: rgb(168, 49, 27);
/* oklch */ color: oklch(49.1% 0.159 32.7);
Tailwind
colors: {
  custom: {
    50: '#cb715a',
    500: '#a8311b',
    950: '#000000',
  },
}
SCSS
$custom: #a8311b;
$custom-light: #cb715a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8311b",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 9.362,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49146,
    "c": 0.15893,
    "h": 32.7
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#A8311B
secondary
#57B6C8
accent
#D3EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A8311B

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

Preview Lab → · Contrast checker → · Palette generator →

#A8311B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva