#A71F1F#A71F1F

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

Color values

HEX#A71F1F
RGBrgb(167, 31, 31)
HSLhsl(0, 69%, 39%)
HSVhsv(0, 81%, 65%)
CMYKcmyk(0%, 81.4%, 81.4%, 34.5%)
CIE-LABlab(36.55, 53.40, 36.03)
CIE-LCHlch(36.55, 64.42, 34.01°)
OKLaboklab(47.37% 0.1531 0.0775)
OKLCHoklch(47.37% 0.172 26.8)
XYZxyz(16.6757, 9.2971, 2.2126)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F1F #1FA7A7
analogous
#A71F63 #A71F1F #A7631F
triadic
#A71F1F #1FA71F #1F1FA7
tetradic
#A71F1F #63A71F #1FA7A7 #631FA7
square
#A71F1F #63A71F #1FA7A7 #631FA7
split-complementary
#A71F1F #1FA763 #1F63A7
monochromatic
#400C0C #731515 #A71F1F #D82B2B #E15F5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F1F#FFFFFF#000000##FFFFFF
##A71F1F1.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)
#4B431D
Deuteranopia (green-blind)
#6C6018
Tritanopia (blue-blind)
#B80021
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71f1f;
/* rgb */ color: rgb(167, 31, 31);
/* oklch */ color: oklch(47.4% 0.172 26.8);
Tailwind
colors: {
  custom: {
    50: '#cb695c',
    500: '#a71f1f',
    950: '#000000',
  },
}
SCSS
$custom: #a71f1f;
$custom-light: #cb695c;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f1f",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 31
  },
  "hsl": {
    "h": 0,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47366,
    "c": 0.17161,
    "h": 26.8
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#A71F1F
secondary
#5CC6C6
accent
#ECEC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A71F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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