#A71F1C#A71F1C

#A71F1C is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.172 H 27.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A71F1C
RGBrgb(167, 31, 28)
HSLhsl(1, 71%, 38%)
HSVhsv(1, 83%, 65%)
CMYKcmyk(0%, 81.4%, 83.2%, 34.5%)
CIE-LABlab(36.52, 53.31, 37.66)
CIE-LCHlch(36.52, 65.27, 35.24°)
OKLaboklab(47.34% 0.1522 0.08)
OKLCHoklch(47.34% 0.172 27.7)
XYZxyz(16.6380, 9.2820, 2.0140)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F1C #1CA4A7
analogous
#A71C5E #A71F1C #A7641C
triadic
#A71F1C #1CA71F #1F1CA7
tetradic
#A71F1C #5EA71C #1CA4A7 #641CA7
square
#A71F1C #5EA71C #1CA4A7 #641CA7
split-complementary
#A71F1C #1CA764 #1C5EA7
monochromatic
#3E0C0A #731513 #A71F1C #DB2A26 #E35D5A

Accessibility & contrast

On white

7.35
#A71F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A71F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F1C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F1C#FFFFFF#000000##FFFFFF
##A71F1C1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#6C6015
Tritanopia (blue-blind)
#B80021
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71f1c;
/* rgb */ color: rgb(167, 31, 28);
/* oklch */ color: oklch(47.3% 0.172 27.7);
Tailwind
colors: {
  custom: {
    50: '#cb6959',
    500: '#a71f1c',
    950: '#000000',
  },
}
SCSS
$custom: #a71f1c;
$custom-light: #cb6959;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f1c",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 28
  },
  "hsl": {
    "h": 1.295,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.17195,
    "h": 27.7
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#A71F1C
secondary
#58C5C7
accent
#EAEE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A71F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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