#A7311D#A7311D

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

Color values

HEX#A7311D
RGBrgb(167, 49, 29)
HSLhsl(9, 70%, 38%)
HSVhsv(9, 83%, 65%)
CMYKcmyk(0%, 70.7%, 82.6%, 34.5%)
CIE-LABlab(38.73, 47.22, 39.23)
CIE-LCHlch(38.73, 61.39, 39.72°)
OKLaboklab(48.99% 0.1334 0.0838)
OKLCHoklch(48.99% 0.158 32.1)
XYZxyz(17.2585, 10.5035, 2.2808)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7311D #1D93A7
analogous
#A71D4E #A7311D #A7761D
triadic
#A7311D #1DA731 #311DA7
tetradic
#A7311D #4EA71D #1D93A7 #761DA7
square
#A7311D #4EA71D #1D93A7 #761DA7
split-complementary
#A7311D #1DA776 #1D4EA7
monochromatic
#3F120B #732214 #A7311D #DA4128 #E36F5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7311D#FFFFFF#000000##FFFFFF
##A7311D1.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)
#544B19
Deuteranopia (green-blind)
#716517
Tritanopia (blue-blind)
#B8002E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7311d;
/* rgb */ color: rgb(167, 49, 29);
/* oklch */ color: oklch(49.0% 0.158 32.1);
Tailwind
colors: {
  custom: {
    50: '#ca715b',
    500: '#a7311d',
    950: '#000000',
  },
}
SCSS
$custom: #a7311d;
$custom-light: #ca715b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7311d",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 8.696,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.15755,
    "h": 32.1
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#A7311D
secondary
#59B7C7
accent
#D3ED3B
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A7311D

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

Preview Lab → · Contrast checker → · Palette generator →

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