#A71F3B#A71F3B

#A71F3B is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.8% C 0.170 H 15.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A71F3B
RGBrgb(167, 31, 59)
HSLhsl(348, 69%, 39%)
HSVhsv(348, 81%, 65%)
CMYKcmyk(0%, 81.4%, 64.7%, 34.5%)
CIE-LABlab(36.96, 54.65, 19.37)
CIE-LCHlch(36.96, 57.98, 19.51°)
OKLaboklab(47.8% 0.1634 0.0466)
OKLCHoklch(47.8% 0.17 15.9)
XYZxyz(17.2176, 9.5139, 5.0666)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F3B #1FA78B
analogous
#A71F7F #A71F3B #A7471F
triadic
#A71F3B #3BA71F #1F3BA7
tetradic
#A71F3B #7FA71F #1FA78B #471FA7
square
#A71F3B #7FA71F #1FA78B #471FA7
split-complementary
#A71F3B #1FA747 #1F7FA7
monochromatic
#400C17 #731529 #A71F3B #D82B4F #E15F7A

Accessibility & contrast

On white

7.24
#A71F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A71F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F3B
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F3B#FFFFFF#000000##FFFFFF
##A71F3B1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48453B
Deuteranopia (green-blind)
#6A6137
Tritanopia (blue-blind)
#B7002B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f3b;
/* rgb */ color: rgb(167, 31, 59);
/* oklch */ color: oklch(47.8% 0.170 15.9);
Tailwind
colors: {
  custom: {
    50: '#c96a70',
    500: '#a71f3b',
    950: '#000000',
  },
}
SCSS
$custom: #a71f3b;
$custom-light: #c96a70;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f3b",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 347.647,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47796,
    "c": 0.16987,
    "h": 15.9
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#A71F3B
secondary
#5CC6B0
accent
#ECC73C
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A71F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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