#A7311C#A7311C

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

Color values

HEX#A7311C
RGBrgb(167, 49, 28)
HSLhsl(9, 71%, 38%)
HSVhsv(9, 83%, 65%)
CMYKcmyk(0%, 70.7%, 83.2%, 34.5%)
CIE-LABlab(38.72, 47.19, 39.74)
CIE-LCHlch(38.72, 61.70, 40.10°)
OKLaboklab(48.98% 0.1331 0.0846)
OKLCHoklch(48.98% 0.158 32.4)
XYZxyz(17.2463, 10.4986, 2.2167)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7311C #1C92A7
analogous
#A71C4C #A7311C #A7761C
triadic
#A7311C #1CA731 #311CA7
tetradic
#A7311C #4CA71C #1C92A7 #761CA7
square
#A7311C #4CA71C #1C92A7 #761CA7
split-complementary
#A7311C #1CA776 #1C4CA7
monochromatic
#3E120A #732213 #A7311C #DB4126 #E36F5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7311C#FFFFFF#000000##FFFFFF
##A7311C1.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)
#544B18
Deuteranopia (green-blind)
#716516
Tritanopia (blue-blind)
#B8002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7311c;
/* rgb */ color: rgb(167, 49, 28);
/* oklch */ color: oklch(49.0% 0.158 32.4);
Tailwind
colors: {
  custom: {
    50: '#ca715a',
    500: '#a7311c',
    950: '#000000',
  },
}
SCSS
$custom: #a7311c;
$custom-light: #ca715a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7311c",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 9.065,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.15772,
    "h": 32.4
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#A7311C
secondary
#58B6C7
accent
#D3EE3A
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A7311C

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

Preview Lab → · Contrast checker → · Palette generator →

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