#A0171D#A0171D

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

Color values

HEX#A0171D
RGBrgb(160, 23, 29)
HSLhsl(357, 75%, 36%)
HSVhsv(357, 86%, 63%)
CMYKcmyk(0%, 85.6%, 81.9%, 37.3%)
CIE-LABlab(34.35, 53.34, 34.49)
CIE-LCHlch(34.35, 63.52, 32.89°)
OKLaboklab(45.47% 0.1533 0.0741)
OKLCHoklch(45.47% 0.17 25.8)
XYZxyz(15.0273, 8.1776, 1.9494)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0171D #17A09A
analogous
#A01761 #A0171D #A05517
triadic
#A0171D #1DA017 #171DA0
tetradic
#A0171D #61A017 #17A09A #5517A0
square
#A0171D #61A017 #17A09A #5517A0
split-complementary
#A0171D #17A055 #1761A0
monochromatic
#35080A #6A0F13 #A0171D #D61F27 #E54C53

Accessibility & contrast

On white

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

On black

2.64
#A0171D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A0171D#FFFFFF#000000##FFFFFF
##A0171D1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1B
Deuteranopia (green-blind)
#665B16
Tritanopia (blue-blind)
#B1001C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #a0171d;
/* rgb */ color: rgb(160, 23, 29);
/* oklch */ color: oklch(45.5% 0.170 25.8);
Tailwind
colors: {
  custom: {
    50: '#c6655a',
    500: '#a0171d',
    950: '#000000',
  },
}
SCSS
$custom: #a0171d;
$custom-light: #c6655a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0171d",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 357.372,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.1703,
    "h": 25.8
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#A0171D
secondary
#4CC7C2
accent
#F1E936
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #A0171D

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

Preview Lab → · Contrast checker → · Palette generator →

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