#A1172C#A1172C

#A1172C is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.170 H 20.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A1172C
RGBrgb(161, 23, 44)
HSLhsl(351, 75%, 36%)
HSVhsv(351, 86%, 63%)
CMYKcmyk(0%, 85.7%, 72.7%, 36.9%)
CIE-LABlab(34.75, 54.19, 25.88)
CIE-LCHlch(34.75, 60.05, 25.53°)
OKLaboklab(45.87% 0.1594 0.0593)
OKLCHoklch(45.87% 0.17 20.4)
XYZxyz(15.4608, 8.3742, 3.1847)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1172C #17A18C
analogous
#A11771 #A1172C #A14717
triadic
#A1172C #2CA117 #172CA1
tetradic
#A1172C #71A117 #17A18C #4717A1
square
#A1172C #71A117 #17A18C #4717A1
split-complementary
#A1172C #17A147 #1771A1
monochromatic
#36080F #6B0F1D #A1172C #D71F3B #E64D64

Accessibility & contrast

On white

7.85
#A1172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#A1172C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1172C
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1172C#FFFFFF#000000##FFFFFF
##A1172C1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2C
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#B10021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #a1172c;
/* rgb */ color: rgb(161, 23, 44);
/* oklch */ color: oklch(45.9% 0.170 20.4);
Tailwind
colors: {
  custom: {
    50: '#c56665',
    500: '#a1172c',
    950: '#000000',
  },
}
SCSS
$custom: #a1172c;
$custom-light: #c56665;
$custom-dark: #000000;
JSON
{
  "hex": "#a1172c",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 350.87,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.17003,
    "h": 20.4
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#A1172C
secondary
#4CC7B5
accent
#F2D536
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #A1172C

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

Preview Lab → · Contrast checker → · Palette generator →

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