#A71F23#A71F23

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

Color values

HEX#A71F23
RGBrgb(167, 31, 35)
HSLhsl(358, 69%, 39%)
HSVhsv(358, 81%, 65%)
CMYKcmyk(0%, 81.4%, 79%, 34.5%)
CIE-LABlab(36.59, 53.53, 33.77)
CIE-LCHlch(36.59, 63.30, 32.25°)
OKLaboklab(47.41% 0.1544 0.0739)
OKLCHoklch(47.41% 0.171 25.6)
XYZxyz(16.7318, 9.3195, 2.5076)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F23 #1FA7A3
analogous
#A71F67 #A71F23 #A75F1F
triadic
#A71F23 #23A71F #1F23A7
tetradic
#A71F23 #67A71F #1FA7A3 #5F1FA7
square
#A71F23 #67A71F #1FA7A3 #5F1FA7
split-complementary
#A71F23 #1FA75F #1F67A7
monochromatic
#400C0D #731518 #A71F23 #D82B31 #E15F63

Accessibility & contrast

On white

7.33
#A71F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F23
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F23#FFFFFF#000000##FFFFFF
##A71F231.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71f23;
/* rgb */ color: rgb(167, 31, 35);
/* oklch */ color: oklch(47.4% 0.171 25.6);
Tailwind
colors: {
  custom: {
    50: '#ca695e',
    500: '#a71f23',
    950: '#000000',
  },
}
SCSS
$custom: #a71f23;
$custom-light: #ca695e;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f23",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 358.235,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.17117,
    "h": 25.6
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#A71F23
secondary
#5CC6C3
accent
#ECE63C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A71F23

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

Preview Lab → · Contrast checker → · Palette generator →

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