#A1311B#A1311B

#A1311B is a mid, vivid red. Relative luminance 0.099; OKLCH L 47.9% C 0.152 H 33.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A1311B
RGBrgb(161, 49, 27)
HSLhsl(10, 71%, 37%)
HSVhsv(10, 83%, 63%)
CMYKcmyk(0%, 69.6%, 83.2%, 36.9%)
CIE-LABlab(37.58, 45.10, 38.77)
CIE-LCHlch(37.58, 59.48, 40.69°)
OKLaboklab(47.91% 0.1271 0.0827)
OKLCHoklch(47.91% 0.152 33.1)
XYZxyz(15.9960, 9.8552, 2.0967)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1311B #1B8BA1
analogous
#A11B48 #A1311B #A1741B
triadic
#A1311B #1BA131 #311BA1
tetradic
#A1311B #48A11B #1B8BA1 #741BA1
square
#A1311B #48A11B #1B8BA1 #741BA1
split-complementary
#A1311B #1BA174 #1B48A1
monochromatic
#381109 #6D2112 #A1311B #D54124 #E26B54

Accessibility & contrast

On white

7.07
#A1311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A1311B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1311B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1311B#FFFFFF#000000##FFFFFF
##A1311B1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524917
Deuteranopia (green-blind)
#6E6215
Tritanopia (blue-blind)
#B2072D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a1311b;
/* rgb */ color: rgb(161, 49, 27);
/* oklch */ color: oklch(47.9% 0.152 33.1);
Tailwind
colors: {
  custom: {
    50: '#c5705a',
    500: '#a1311b',
    950: '#000000',
  },
}
SCSS
$custom: #a1311b;
$custom-light: #c5705a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1311b",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 9.851,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47912,
    "c": 0.15159,
    "h": 33.1
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#A1311B
secondary
#52B2C5
accent
#D0EE3A
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A1311B

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

Preview Lab → · Contrast checker → · Palette generator →

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