#A0171B#A0171B

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

Color values

HEX#A0171B
RGBrgb(160, 23, 27)
HSLhsl(358, 75%, 36%)
HSVhsv(358, 86%, 63%)
CMYKcmyk(0%, 85.6%, 83.1%, 37.3%)
CIE-LABlab(34.33, 53.28, 35.61)
CIE-LCHlch(34.33, 64.08, 33.76°)
OKLaboklab(45.45% 0.1527 0.0758)
OKLCHoklch(45.45% 0.171 26.4)
XYZxyz(15.0033, 8.1680, 1.8233)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0171B #17A09C
analogous
#A0175F #A0171B #A05717
triadic
#A0171B #1BA017 #171BA0
tetradic
#A0171B #5FA017 #17A09C #5717A0
square
#A0171B #5FA017 #17A09C #5717A0
split-complementary
#A0171B #17A057 #175FA0
monochromatic
#350809 #6A0F12 #A0171B #D61F24 #E54C51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0171B#FFFFFF#000000##FFFFFF
##A0171B1.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)
#453E19
Deuteranopia (green-blind)
#665B14
Tritanopia (blue-blind)
#B1001B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #a0171b;
/* rgb */ color: rgb(160, 23, 27);
/* oklch */ color: oklch(45.5% 0.171 26.4);
Tailwind
colors: {
  custom: {
    50: '#c66558',
    500: '#a0171b',
    950: '#000000',
  },
}
SCSS
$custom: #a0171b;
$custom-light: #c66558;
$custom-dark: #000000;
JSON
{
  "hex": "#a0171b",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 358.248,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.1705,
    "h": 26.4
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#A0171B
secondary
#4CC7C3
accent
#F1EC36
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #A0171B

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

Preview Lab → · Contrast checker → · Palette generator →

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