#A71E21#A71E21

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

Color values

HEX#A71E21
RGBrgb(167, 30, 33)
HSLhsl(359, 70%, 39%)
HSVhsv(359, 82%, 65%)
CMYKcmyk(0%, 82%, 80.2%, 34.5%)
CIE-LABlab(36.47, 53.74, 34.81)
CIE-LCHlch(36.47, 64.03, 32.93°)
OKLaboklab(47.32% 0.1546 0.0755)
OKLCHoklch(47.32% 0.172 26)
XYZxyz(16.6772, 9.2566, 2.3471)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E21 #1EA7A4
analogous
#A71E65 #A71E21 #A75F1E
triadic
#A71E21 #21A71E #1E21A7
tetradic
#A71E21 #65A71E #1EA7A4 #5F1EA7
square
#A71E21 #65A71E #1EA7A4 #5F1EA7
split-complementary
#A71E21 #1EA75F #1E65A7
monochromatic
#3F0B0C #731517 #A71E21 #D92A2D #E25D60

Accessibility & contrast

On white

7.37
#A71E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A71E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71E21
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E21#FFFFFF#000000##FFFFFF
##A71E211.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A431F
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#B80021
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71e21;
/* rgb */ color: rgb(167, 30, 33);
/* oklch */ color: oklch(47.3% 0.172 26.0);
Tailwind
colors: {
  custom: {
    50: '#cb695d',
    500: '#a71e21',
    950: '#000000',
  },
}
SCSS
$custom: #a71e21;
$custom-light: #cb695d;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e21",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 33
  },
  "hsl": {
    "h": 358.686,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.17206,
    "h": 26
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#A71E21
secondary
#5BC6C4
accent
#ECE83B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A71E21

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

Preview Lab → · Contrast checker → · Palette generator →

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