#A71F1E#A71F1E

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

Color values

HEX#A71F1E
RGBrgb(167, 31, 30)
HSLhsl(0, 70%, 39%)
HSVhsv(0, 82%, 65%)
CMYKcmyk(0%, 81.4%, 82%, 34.5%)
CIE-LABlab(36.54, 53.37, 36.58)
CIE-LCHlch(36.54, 64.70, 34.43°)
OKLaboklab(47.36% 0.1528 0.0783)
OKLCHoklch(47.36% 0.172 27.1)
XYZxyz(16.6627, 9.2919, 2.1442)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F1E #1EA6A7
analogous
#A71E61 #A71F1E #A7631E
triadic
#A71F1E #1EA71F #1F1EA7
tetradic
#A71F1E #61A71E #1EA6A7 #631EA7
square
#A71F1E #61A71E #1EA6A7 #631EA7
split-complementary
#A71F1E #1EA763 #1E61A7
monochromatic
#3F0C0B #731515 #A71F1E #D92B2A #E25E5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F1E#FFFFFF#000000##FFFFFF
##A71F1E1.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)
#4B431C
Deuteranopia (green-blind)
#6C6017
Tritanopia (blue-blind)
#B80021
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71f1e;
/* rgb */ color: rgb(167, 31, 30);
/* oklch */ color: oklch(47.4% 0.172 27.1);
Tailwind
colors: {
  custom: {
    50: '#cb695b',
    500: '#a71f1e',
    950: '#000000',
  },
}
SCSS
$custom: #a71f1e;
$custom-light: #cb695b;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f1e",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 30
  },
  "hsl": {
    "h": 0.438,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47356,
    "c": 0.17173,
    "h": 27.1
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#A71F1E
secondary
#5BC5C6
accent
#EBEC3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A71F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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