#A0171C#A0171C

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

Color values

HEX#A0171C
RGBrgb(160, 23, 28)
HSLhsl(358, 75%, 36%)
HSVhsv(358, 86%, 63%)
CMYKcmyk(0%, 85.6%, 82.5%, 37.3%)
CIE-LABlab(34.34, 53.31, 35.05)
CIE-LCHlch(34.34, 63.80, 33.33°)
OKLaboklab(45.46% 0.153 0.0749)
OKLCHoklch(45.46% 0.17 26.1)
XYZxyz(15.0151, 8.1727, 1.8853)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0171C #17A09B
analogous
#A01760 #A0171C #A05617
triadic
#A0171C #1CA017 #171CA0
tetradic
#A0171C #60A017 #17A09B #5617A0
square
#A0171C #60A017 #17A09B #5617A0
split-complementary
#A0171C #17A056 #1760A0
monochromatic
#350809 #6A0F13 #A0171C #D61F25 #E54C52

Accessibility & contrast

On white

7.97
#A0171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A0171C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0171C#FFFFFF#000000##FFFFFF
##A0171C1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1A
Deuteranopia (green-blind)
#665B15
Tritanopia (blue-blind)
#B1001B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #a0171c;
/* rgb */ color: rgb(160, 23, 28);
/* oklch */ color: oklch(45.5% 0.170 26.1);
Tailwind
colors: {
  custom: {
    50: '#c66559',
    500: '#a0171c',
    950: '#000000',
  },
}
SCSS
$custom: #a0171c;
$custom-light: #c66559;
$custom-dark: #000000;
JSON
{
  "hex": "#a0171c",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 357.81,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45463,
    "c": 0.17039,
    "h": 26.1
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A0171C

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

Preview Lab → · Contrast checker → · Palette generator →

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