#A71F26#A71F26

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

Color values

HEX#A71F26
RGBrgb(167, 31, 38)
HSLhsl(357, 69%, 39%)
HSVhsv(357, 81%, 65%)
CMYKcmyk(0%, 81.4%, 77.2%, 34.5%)
CIE-LABlab(36.63, 53.64, 32.04)
CIE-LCHlch(36.63, 62.48, 30.85°)
OKLaboklab(47.45% 0.1554 0.071)
OKLCHoklch(47.45% 0.171 24.6)
XYZxyz(16.7782, 9.3381, 2.7524)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F26 #1FA7A0
analogous
#A71F6A #A71F26 #A75C1F
triadic
#A71F26 #26A71F #1F26A7
tetradic
#A71F26 #6AA71F #1FA7A0 #5C1FA7
square
#A71F26 #6AA71F #1FA7A0 #5C1FA7
split-complementary
#A71F26 #1FA75C #1F6AA7
monochromatic
#400C0F #73151A #A71F26 #D82B34 #E15F66

Accessibility & contrast

On white

7.32
#A71F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A71F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F26
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F26#FFFFFF#000000##FFFFFF
##A71F261.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4325
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#B80023
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71f26;
/* rgb */ color: rgb(167, 31, 38);
/* oklch */ color: oklch(47.4% 0.171 24.6);
Tailwind
colors: {
  custom: {
    50: '#ca6960',
    500: '#a71f26',
    950: '#000000',
  },
}
SCSS
$custom: #a71f26;
$custom-light: #ca6960;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f26",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 356.912,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.17084,
    "h": 24.6
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#A71F26
secondary
#5CC6C0
accent
#ECE33C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150705
muted
#837A79

Preview Lab

Preview with #A71F26

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

Preview Lab → · Contrast checker → · Palette generator →

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