#A8311C#A8311C

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

Color values

HEX#A8311C
RGBrgb(168, 49, 28)
HSLhsl(9, 71%, 38%)
HSVhsv(9, 83%, 66%)
CMYKcmyk(0%, 70.8%, 83.3%, 34.1%)
CIE-LABlab(38.91, 47.53, 39.98)
CIE-LCHlch(38.91, 62.11, 40.07°)
OKLaboklab(49.16% 0.1341 0.085)
OKLCHoklch(49.16% 0.159 32.4)
XYZxyz(17.4584, 10.6080, 2.2267)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8311C #1C93A8
analogous
#A81C4D #A8311C #A8771C
triadic
#A8311C #1CA831 #311CA8
tetradic
#A8311C #4DA81C #1C93A8 #771CA8
square
#A8311C #4DA81C #1C93A8 #771CA8
split-complementary
#A8311C #1CA877 #1C4DA8
monochromatic
#3F120B #742213 #A8311C #DB4126 #E46F5B

Accessibility & contrast

On white

6.73
#A8311C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8311C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8311C#FFFFFF#000000##FFFFFF
##A8311C1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B18
Deuteranopia (green-blind)
#726516
Tritanopia (blue-blind)
#B9002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a8311c;
/* rgb */ color: rgb(168, 49, 28);
/* oklch */ color: oklch(49.2% 0.159 32.4);
Tailwind
colors: {
  custom: {
    50: '#cb715a',
    500: '#a8311c',
    950: '#000000',
  },
}
SCSS
$custom: #a8311c;
$custom-light: #cb715a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8311c",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 9,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.15876,
    "h": 32.4
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8311C

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

Preview Lab → · Contrast checker → · Palette generator →

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