#A71E1F#A71E1F

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

Color values

HEX#A71E1F
RGBrgb(167, 30, 31)
HSLhsl(360, 70%, 39%)
HSVhsv(360, 82%, 65%)
CMYKcmyk(0%, 82%, 81.4%, 34.5%)
CIE-LABlab(36.45, 53.68, 35.93)
CIE-LCHlch(36.45, 64.59, 33.80°)
OKLaboklab(47.29% 0.154 0.0773)
OKLCHoklch(47.29% 0.172 26.6)
XYZxyz(16.6500, 9.2457, 2.2040)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E1F #1EA7A6
analogous
#A71E63 #A71E1F #A7611E
triadic
#A71E1F #1FA71E #1E1FA7
tetradic
#A71E1F #63A71E #1EA7A6 #611EA7
square
#A71E1F #63A71E #1EA7A6 #611EA7
split-complementary
#A71E1F #1EA761 #1E63A7
monochromatic
#3F0B0C #731515 #A71E1F #D92A2B #E25D5E

Accessibility & contrast

On white

7.37
#A71E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A71E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71E1F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E1F#FFFFFF#000000##FFFFFF
##A71E1F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71e1f;
/* rgb */ color: rgb(167, 30, 31);
/* oklch */ color: oklch(47.3% 0.172 26.6);
Tailwind
colors: {
  custom: {
    50: '#cb695b',
    500: '#a71e1f',
    950: '#000000',
  },
}
SCSS
$custom: #a71e1f;
$custom-light: #cb695b;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e1f",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.562,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47294,
    "c": 0.17228,
    "h": 26.6
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

primary
#A71E1F
secondary
#5BC6C5
accent
#ECEB3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A71E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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