#A71F22#A71F22

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

Color values

HEX#A71F22
RGBrgb(167, 31, 34)
HSLhsl(359, 69%, 39%)
HSVhsv(359, 81%, 65%)
CMYKcmyk(0%, 81.4%, 79.6%, 34.5%)
CIE-LABlab(36.58, 53.50, 34.34)
CIE-LCHlch(36.58, 63.57, 32.70°)
OKLaboklab(47.4% 0.1541 0.0748)
OKLCHoklch(47.4% 0.171 25.9)
XYZxyz(16.7171, 9.3137, 2.4306)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F22 #1FA7A4
analogous
#A71F66 #A71F22 #A7601F
triadic
#A71F22 #22A71F #1F22A7
tetradic
#A71F22 #66A71F #1FA7A4 #601FA7
square
#A71F22 #66A71F #1FA7A4 #601FA7
split-complementary
#A71F22 #1FA760 #1F66A7
monochromatic
#400C0D #731517 #A71F22 #D82B2F #E15F62

Accessibility & contrast

On white

7.34
#A71F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F22
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F22#FFFFFF#000000##FFFFFF
##A71F221.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4320
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#B80022
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71f22;
/* rgb */ color: rgb(167, 31, 34);
/* oklch */ color: oklch(47.4% 0.171 25.9);
Tailwind
colors: {
  custom: {
    50: '#ca695e',
    500: '#a71f22',
    950: '#000000',
  },
}
SCSS
$custom: #a71f22;
$custom-light: #ca695e;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f22",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.676,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.17127,
    "h": 25.9
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#A71F22
secondary
#5CC6C4
accent
#ECE83C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A71F22

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

Preview Lab → · Contrast checker → · Palette generator →

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