#A0171F#A0171F

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

Color values

HEX#A0171F
RGBrgb(160, 23, 31)
HSLhsl(356, 75%, 36%)
HSVhsv(356, 86%, 63%)
CMYKcmyk(0%, 85.6%, 80.6%, 37.3%)
CIE-LABlab(34.37, 53.40, 33.35)
CIE-LCHlch(34.37, 62.96, 31.98°)
OKLaboklab(45.5% 0.154 0.0723)
OKLCHoklch(45.5% 0.17 25.1)
XYZxyz(15.0528, 8.1878, 2.0839)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0171F #17A098
analogous
#A01763 #A0171F #A05317
triadic
#A0171F #1FA017 #171FA0
tetradic
#A0171F #63A017 #17A098 #5317A0
square
#A0171F #63A017 #17A098 #5317A0
split-complementary
#A0171F #17A053 #1763A0
monochromatic
#35080A #6A0F15 #A0171F #D61F29 #E54C55

Accessibility & contrast

On white

7.96
#A0171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A0171F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0171F#FFFFFF#000000##FFFFFF
##A0171F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a0171f;
/* rgb */ color: rgb(160, 23, 31);
/* oklch */ color: oklch(45.5% 0.170 25.1);
Tailwind
colors: {
  custom: {
    50: '#c6655b',
    500: '#a0171f',
    950: '#000000',
  },
}
SCSS
$custom: #a0171f;
$custom-light: #c6655b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0171f",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 356.496,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45495,
    "c": 0.1701,
    "h": 25.1
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#A0171F
secondary
#4CC7C0
accent
#F1E736
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150604
muted
#837A79

Preview Lab

Preview with #A0171F

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

Preview Lab → · Contrast checker → · Palette generator →

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