#A0171A#A0171A

#A0171A is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.171 H 26.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A0171A
RGBrgb(160, 23, 26)
HSLhsl(359, 75%, 36%)
HSVhsv(359, 86%, 63%)
CMYKcmyk(0%, 85.6%, 83.8%, 37.3%)
CIE-LABlab(34.32, 53.25, 36.16)
CIE-LCHlch(34.32, 64.37, 34.18°)
OKLaboklab(45.44% 0.1525 0.0766)
OKLCHoklch(45.44% 0.171 26.7)
XYZxyz(14.9920, 8.1635, 1.7634)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0171A #17A09D
analogous
#A0175E #A0171A #A05817
triadic
#A0171A #1AA017 #171AA0
tetradic
#A0171A #5EA017 #17A09D #5817A0
square
#A0171A #5EA017 #17A09D #5817A0
split-complementary
#A0171A #17A058 #175EA0
monochromatic
#350809 #6A0F11 #A0171A #D61F23 #E54C4F

Accessibility & contrast

On white

7.98
#A0171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#A0171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0171A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0171A#FFFFFF#000000##FFFFFF
##A0171A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E18
Deuteranopia (green-blind)
#665B12
Tritanopia (blue-blind)
#B1001B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #a0171a;
/* rgb */ color: rgb(160, 23, 26);
/* oklch */ color: oklch(45.4% 0.171 26.7);
Tailwind
colors: {
  custom: {
    50: '#c66558',
    500: '#a0171a',
    950: '#000000',
  },
}
SCSS
$custom: #a0171a;
$custom-light: #c66558;
$custom-dark: #000000;
JSON
{
  "hex": "#a0171a",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 358.686,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.1706,
    "h": 26.7
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#A0171A
secondary
#4CC7C4
accent
#F1ED36
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #A0171A

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

Preview Lab → · Contrast checker → · Palette generator →

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