#A6271A#A6271A

#A6271A is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.165 H 30.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A6271A
RGBrgb(166, 39, 26)
HSLhsl(6, 73%, 38%)
HSVhsv(6, 84%, 65%)
CMYKcmyk(0%, 76.5%, 84.3%, 34.9%)
CIE-LABlab(37.18, 50.49, 39.27)
CIE-LCHlch(37.18, 63.96, 37.87°)
OKLaboklab(47.78% 0.1431 0.0828)
OKLCHoklch(47.78% 0.165 30.1)
XYZxyz(16.6399, 9.6353, 1.9607)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6271A #1A99A6
analogous
#A61A53 #A6271A #A66D1A
triadic
#A6271A #1AA627 #271AA6
tetradic
#A6271A #53A61A #1A99A6 #6D1AA6
square
#A6271A #53A61A #1A99A6 #6D1AA6
split-complementary
#A6271A #1AA66D #1A53A6
monochromatic
#3C0E09 #711B12 #A6271A #DB3322 #E56356

Accessibility & contrast

On white

7.18
#A6271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A6271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A6271A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6271A#FFFFFF#000000##FFFFFF
##A6271A1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#6E6213
Tritanopia (blue-blind)
#B70026
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a6271a;
/* rgb */ color: rgb(166, 39, 26);
/* oklch */ color: oklch(47.8% 0.165 30.1);
Tailwind
colors: {
  custom: {
    50: '#ca6c59',
    500: '#a6271a',
    950: '#000000',
  },
}
SCSS
$custom: #a6271a;
$custom-light: #ca6c59;
$custom-dark: #000000;
JSON
{
  "hex": "#a6271a",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 5.571,
    "s": 72.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47784,
    "c": 0.16536,
    "h": 30.1
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#A6271A
secondary
#54BDC8
accent
#DFF038
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A6271A

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

Preview Lab → · Contrast checker → · Palette generator →

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