#A7311B#A7311B

#A7311B is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.0% C 0.158 H 32.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A7311B
RGBrgb(167, 49, 27)
HSLhsl(9, 72%, 38%)
HSVhsv(9, 84%, 65%)
CMYKcmyk(0%, 70.7%, 83.8%, 34.5%)
CIE-LABlab(38.71, 47.16, 40.24)
CIE-LCHlch(38.71, 62.00, 40.47°)
OKLaboklab(48.97% 0.1329 0.0853)
OKLCHoklch(48.97% 0.158 32.7)
XYZxyz(17.2345, 10.4939, 2.1547)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7311B #1B91A7
analogous
#A71B4B #A7311B #A7771B
triadic
#A7311B #1BA731 #311BA7
tetradic
#A7311B #4BA71B #1B91A7 #771BA7
square
#A7311B #4BA71B #1B91A7 #771BA7
split-complementary
#A7311B #1BA777 #1B4BA7
monochromatic
#3E120A #722212 #A7311B #DC4124 #E46E58

Accessibility & contrast

On white

6.78
#A7311B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A7311B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7311B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7311B#FFFFFF#000000##FFFFFF
##A7311B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B17
Deuteranopia (green-blind)
#716515
Tritanopia (blue-blind)
#B8002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7311b;
/* rgb */ color: rgb(167, 49, 27);
/* oklch */ color: oklch(49.0% 0.158 32.7);
Tailwind
colors: {
  custom: {
    50: '#ca715a',
    500: '#a7311b',
    950: '#000000',
  },
}
SCSS
$custom: #a7311b;
$custom-light: #ca715a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7311b",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 9.429,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48969,
    "c": 0.15789,
    "h": 32.7
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#A7311B
secondary
#56B6C8
accent
#D2EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A7311B

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

Preview Lab → · Contrast checker → · Palette generator →

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