#A1172E#A1172E

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

Color values

HEX#A1172E
RGBrgb(161, 23, 46)
HSLhsl(350, 75%, 36%)
HSVhsv(350, 86%, 63%)
CMYKcmyk(0%, 85.7%, 71.4%, 36.9%)
CIE-LABlab(34.78, 54.28, 24.65)
CIE-LCHlch(34.78, 59.62, 24.42°)
OKLaboklab(45.9% 0.1601 0.057)
OKLCHoklch(45.9% 0.17 19.6)
XYZxyz(15.4993, 8.3896, 3.3875)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1172E #17A18A
analogous
#A11773 #A1172E #A14517
triadic
#A1172E #2EA117 #172EA1
tetradic
#A1172E #73A117 #17A18A #4517A1
square
#A1172E #73A117 #17A18A #4517A1
split-complementary
#A1172E #17A145 #1773A1
monochromatic
#36080F #6B0F1F #A1172E #D71F3D #E64D66

Accessibility & contrast

On white

7.84
#A1172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1172E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1172E#FFFFFF#000000##FFFFFF
##A1172E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2E
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#B10022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #a1172e;
/* rgb */ color: rgb(161, 23, 46);
/* oklch */ color: oklch(45.9% 0.170 19.6);
Tailwind
colors: {
  custom: {
    50: '#c56666',
    500: '#a1172e',
    950: '#000000',
  },
}
SCSS
$custom: #a1172e;
$custom-light: #c56666;
$custom-dark: #000000;
JSON
{
  "hex": "#a1172e",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 350,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.16996,
    "h": 19.6
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#A1172E
secondary
#4CC7B3
accent
#F2D236
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A1172E

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

Preview Lab → · Contrast checker → · Palette generator →

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