#A1172D#A1172D

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

Color values

HEX#A1172D
RGBrgb(161, 23, 45)
HSLhsl(350, 75%, 36%)
HSVhsv(350, 86%, 63%)
CMYKcmyk(0%, 85.7%, 72%, 36.9%)
CIE-LABlab(34.77, 54.23, 25.27)
CIE-LCHlch(34.77, 59.83, 24.98°)
OKLaboklab(45.88% 0.1597 0.0582)
OKLCHoklch(45.88% 0.17 20)
XYZxyz(15.4798, 8.3818, 3.2849)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1172D #17A18B
analogous
#A11772 #A1172D #A14617
triadic
#A1172D #2DA117 #172DA1
tetradic
#A1172D #72A117 #17A18B #4617A1
square
#A1172D #72A117 #17A18B #4617A1
split-complementary
#A1172D #17A146 #1772A1
monochromatic
#36080F #6B0F1E #A1172D #D71F3C #E64D65

Accessibility & contrast

On white

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

On black

2.68
#A1172D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A1172D#FFFFFF#000000##FFFFFF
##A1172D1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1172d;
/* rgb */ color: rgb(161, 23, 45);
/* oklch */ color: oklch(45.9% 0.170 20.0);
Tailwind
colors: {
  custom: {
    50: '#c56665',
    500: '#a1172d',
    950: '#000000',
  },
}
SCSS
$custom: #a1172d;
$custom-light: #c56665;
$custom-dark: #000000;
JSON
{
  "hex": "#a1172d",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 350.435,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.16999,
    "h": 20
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#A1172D
secondary
#4CC7B4
accent
#F2D436
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #A1172D

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

Preview Lab → · Contrast checker → · Palette generator →

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