#A1172F#A1172F

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

Color values

HEX#A1172F
RGBrgb(161, 23, 47)
HSLhsl(350, 75%, 36%)
HSVhsv(350, 86%, 63%)
CMYKcmyk(0%, 85.7%, 70.8%, 36.9%)
CIE-LABlab(34.80, 54.33, 24.04)
CIE-LCHlch(34.80, 59.41, 23.87°)
OKLaboklab(45.92% 0.1605 0.0558)
OKLCHoklch(45.92% 0.17 19.2)
XYZxyz(15.5192, 8.3976, 3.4925)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1172F #17A189
analogous
#A11774 #A1172F #A14417
triadic
#A1172F #2FA117 #172FA1
tetradic
#A1172F #74A117 #17A189 #4417A1
square
#A1172F #74A117 #17A189 #4417A1
split-complementary
#A1172F #17A144 #1774A1
monochromatic
#360810 #6B0F1F #A1172F #D71F3F #E64D67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1172F#FFFFFF#000000##FFFFFF
##A1172F1.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)
#443F2F
Deuteranopia (green-blind)
#665C2B
Tritanopia (blue-blind)
#B10022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #a1172f;
/* rgb */ color: rgb(161, 23, 47);
/* oklch */ color: oklch(45.9% 0.170 19.2);
Tailwind
colors: {
  custom: {
    50: '#c56667',
    500: '#a1172f',
    950: '#000000',
  },
}
SCSS
$custom: #a1172f;
$custom-light: #c56667;
$custom-dark: #000000;
JSON
{
  "hex": "#a1172f",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 349.565,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45916,
    "c": 0.16992,
    "h": 19.2
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#A1172F
secondary
#4CC7B2
accent
#F2D136
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A1172F

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

Preview Lab → · Contrast checker → · Palette generator →

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