#A71D1F#A71D1F

#A71D1F is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.2% C 0.173 H 26.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#A71D1F
RGBrgb(167, 29, 31)
HSLhsl(359, 70%, 38%)
HSVhsv(359, 83%, 65%)
CMYKcmyk(0%, 82.6%, 81.4%, 34.5%)
CIE-LABlab(36.36, 53.94, 35.84)
CIE-LCHlch(36.36, 64.76, 33.60°)
OKLaboklab(47.22% 0.1548 0.0771)
OKLCHoklch(47.22% 0.173 26.5)
XYZxyz(16.6251, 9.1959, 2.1957)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D1F #1DA7A5
analogous
#A71D64 #A71D1F #A7601D
triadic
#A71D1F #1FA71D #1D1FA7
tetradic
#A71D1F #64A71D #1DA7A5 #601DA7
square
#A71D1F #64A71D #1DA7A5 #601DA7
split-complementary
#A71D1F #1DA760 #1D64A7
monochromatic
#3F0B0C #731415 #A71D1F #DA282A #E35C5E

Accessibility & contrast

On white

7.40
#A71D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A71D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71D1F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71D1F#FFFFFF#000000##FFFFFF
##A71D1F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421D
Deuteranopia (green-blind)
#6C6018
Tritanopia (blue-blind)
#B80020
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a71d1f;
/* rgb */ color: rgb(167, 29, 31);
/* oklch */ color: oklch(47.2% 0.173 26.5);
Tailwind
colors: {
  custom: {
    50: '#cb685b',
    500: '#a71d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a71d1f;
$custom-light: #cb685b;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d1f",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 31
  },
  "hsl": {
    "h": 359.13,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.17294,
    "h": 26.5
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#A71D1F
secondary
#59C7C5
accent
#EDEB3B
background
#FDF6F5
surface
#FBEBE9
border
#D4C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A71D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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