#A7311F#A7311F

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

Color values

HEX#A7311F
RGBrgb(167, 49, 31)
HSLhsl(8, 69%, 39%)
HSVhsv(8, 81%, 65%)
CMYKcmyk(0%, 70.7%, 81.4%, 34.5%)
CIE-LABlab(38.75, 47.29, 38.20)
CIE-LCHlch(38.75, 60.79, 38.93°)
OKLaboklab(49.01% 0.134 0.0823)
OKLCHoklch(49.01% 0.157 31.6)
XYZxyz(17.2840, 10.5137, 2.4153)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7311F #1F95A7
analogous
#A71F51 #A7311F #A7751F
triadic
#A7311F #1FA731 #311FA7
tetradic
#A7311F #51A71F #1F95A7 #751FA7
square
#A7311F #51A71F #1F95A7 #751FA7
split-complementary
#A7311F #1FA775 #1F51A7
monochromatic
#40130C #732215 #A7311F #D8422B #E1705F

Accessibility & contrast

On white

6.77
#A7311F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7311F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7311F#FFFFFF#000000##FFFFFF
##A7311F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1C
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#B8012E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7311f;
/* rgb */ color: rgb(167, 49, 31);
/* oklch */ color: oklch(49.0% 0.157 31.6);
Tailwind
colors: {
  custom: {
    50: '#ca715c',
    500: '#a7311f',
    950: '#000000',
  },
}
SCSS
$custom: #a7311f;
$custom-light: #ca715c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7311f",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 7.941,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49006,
    "c": 0.15721,
    "h": 31.6
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#A7311F
secondary
#5CB8C6
accent
#D4EC3C
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A7311F

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

Preview Lab → · Contrast checker → · Palette generator →

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