#A0171E#A0171E

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

Color values

HEX#A0171E
RGBrgb(160, 23, 30)
HSLhsl(357, 75%, 36%)
HSVhsv(357, 86%, 63%)
CMYKcmyk(0%, 85.6%, 81.3%, 37.3%)
CIE-LABlab(34.36, 53.37, 33.92)
CIE-LCHlch(34.36, 63.24, 32.44°)
OKLaboklab(45.48% 0.1537 0.0732)
OKLCHoklch(45.48% 0.17 25.5)
XYZxyz(15.0398, 8.1826, 2.0156)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0171E #17A099
analogous
#A01762 #A0171E #A05417
triadic
#A0171E #1EA017 #171EA0
tetradic
#A0171E #62A017 #17A099 #5417A0
square
#A0171E #62A017 #17A099 #5417A0
split-complementary
#A0171E #17A054 #1762A0
monochromatic
#35080A #6A0F14 #A0171E #D61F28 #E54C54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0171E#FFFFFF#000000##FFFFFF
##A0171E1.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)
#453E1C
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#B1001C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #a0171e;
/* rgb */ color: rgb(160, 23, 30);
/* oklch */ color: oklch(45.5% 0.170 25.5);
Tailwind
colors: {
  custom: {
    50: '#c6655a',
    500: '#a0171e',
    950: '#000000',
  },
}
SCSS
$custom: #a0171e;
$custom-light: #c6655a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0171e",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 356.934,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45484,
    "c": 0.17019,
    "h": 25.5
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#A0171E
secondary
#4CC7C1
accent
#F1E836
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150604
muted
#837A79

Preview Lab

Preview with #A0171E

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

Preview Lab → · Contrast checker → · Palette generator →

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