#A6311B#A6311B

#A6311B is a mid, vivid red. Relative luminance 0.104; OKLCH L 48.8% C 0.157 H 32.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A6311B
RGBrgb(166, 49, 27)
HSLhsl(9, 72%, 38%)
HSVhsv(9, 84%, 65%)
CMYKcmyk(0%, 70.5%, 83.7%, 34.9%)
CIE-LABlab(38.53, 46.82, 39.99)
CIE-LCHlch(38.53, 61.58, 40.50°)
OKLaboklab(48.79% 0.1319 0.0849)
OKLCHoklch(48.79% 0.157 32.8)
XYZxyz(17.0240, 10.3854, 2.1449)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6311B #1B90A6
analogous
#A61B4B #A6311B #A6761B
triadic
#A6311B #1BA631 #311BA6
tetradic
#A6311B #4BA61B #1B90A6 #761BA6
square
#A6311B #4BA61B #1B90A6 #761BA6
split-complementary
#A6311B #1BA676 #1B4BA6
monochromatic
#3D120A #712112 #A6311B #DB4124 #E46E58

Accessibility & contrast

On white

6.83
#A6311B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A6311B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6311B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6311B#FFFFFF#000000##FFFFFF
##A6311B1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A17
Deuteranopia (green-blind)
#716415
Tritanopia (blue-blind)
#B7012D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a6311b;
/* rgb */ color: rgb(166, 49, 27);
/* oklch */ color: oklch(48.8% 0.157 32.8);
Tailwind
colors: {
  custom: {
    50: '#c9705a',
    500: '#a6311b',
    950: '#000000',
  },
}
SCSS
$custom: #a6311b;
$custom-light: #c9705a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6311b",
  "rgb": {
    "r": 166,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 9.496,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48793,
    "c": 0.15684,
    "h": 32.8
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#A6311B
secondary
#56B5C7
accent
#D2EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A6311B

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

Preview Lab → · Contrast checker → · Palette generator →

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