#A8311F#A8311F

#A8311F is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.2% C 0.158 H 31.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A8311F
RGBrgb(168, 49, 31)
HSLhsl(8, 69%, 39%)
HSVhsv(8, 82%, 66%)
CMYKcmyk(0%, 70.8%, 81.5%, 34.1%)
CIE-LABlab(38.94, 47.62, 38.45)
CIE-LCHlch(38.94, 61.21, 38.91°)
OKLaboklab(49.18% 0.1349 0.0827)
OKLCHoklch(49.18% 0.158 31.5)
XYZxyz(17.4961, 10.6231, 2.4253)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8311F #1F96A8
analogous
#A81F52 #A8311F #A8761F
triadic
#A8311F #1FA831 #311FA8
tetradic
#A8311F #52A81F #1F96A8 #761FA8
square
#A8311F #52A81F #1F96A8 #761FA8
split-complementary
#A8311F #1FA876 #1F52A8
monochromatic
#41130C #742215 #A8311F #D8432C #E27160

Accessibility & contrast

On white

6.72
#A8311F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8311F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8311F#FFFFFF#000000##FFFFFF
##A8311F1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1C
Deuteranopia (green-blind)
#726519
Tritanopia (blue-blind)
#B9002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a8311f;
/* rgb */ color: rgb(168, 49, 31);
/* oklch */ color: oklch(49.2% 0.158 31.5);
Tailwind
colors: {
  custom: {
    50: '#cb715c',
    500: '#a8311f',
    950: '#000000',
  },
}
SCSS
$custom: #a8311f;
$custom-light: #cb715c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8311f",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 7.883,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.15826,
    "h": 31.5
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#A8311F
secondary
#5DB8C6
accent
#D5EC3C
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A8311F

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

Preview Lab → · Contrast checker → · Palette generator →

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