#A71F2B#A71F2B

#A71F2B is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.170 H 22.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A71F2B
RGBrgb(167, 31, 43)
HSLhsl(355, 69%, 39%)
HSVhsv(355, 81%, 65%)
CMYKcmyk(0%, 81.4%, 74.3%, 34.5%)
CIE-LABlab(36.69, 53.84, 29.09)
CIE-LCHlch(36.69, 61.20, 28.38°)
OKLaboklab(47.52% 0.1572 0.0658)
OKLCHoklch(47.52% 0.17 22.7)
XYZxyz(16.8644, 9.3726, 3.2061)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F2B #1FA79B
analogous
#A71F6F #A71F2B #A7571F
triadic
#A71F2B #2BA71F #1F2BA7
tetradic
#A71F2B #6FA71F #1FA79B #571FA7
square
#A71F2B #6FA71F #1FA79B #571FA7
split-complementary
#A71F2B #1FA757 #1F6FA7
monochromatic
#400C10 #73151E #A71F2B #D82B3B #E15F6B

Accessibility & contrast

On white

7.31
#A71F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F2B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F2B#FFFFFF#000000##FFFFFF
##A71F2B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442A
Deuteranopia (green-blind)
#6B6126
Tritanopia (blue-blind)
#B80025
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71f2b;
/* rgb */ color: rgb(167, 31, 43);
/* oklch */ color: oklch(47.5% 0.170 22.7);
Tailwind
colors: {
  custom: {
    50: '#ca6964',
    500: '#a71f2b',
    950: '#000000',
  },
}
SCSS
$custom: #a71f2b;
$custom-light: #ca6964;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f2b",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 354.706,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.17039,
    "h": 22.7
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#A71F2B
secondary
#5CC6BC
accent
#ECDC3C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A71F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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