#A71F37#A71F37

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

Color values

HEX#A71F37
RGBrgb(167, 31, 55)
HSLhsl(349, 69%, 39%)
HSVhsv(349, 81%, 65%)
CMYKcmyk(0%, 81.4%, 67.1%, 34.5%)
CIE-LABlab(36.88, 54.43, 21.82)
CIE-LCHlch(36.88, 58.64, 21.84°)
OKLaboklab(47.72% 0.1618 0.0517)
OKLCHoklch(47.72% 0.17 17.7)
XYZxyz(17.1178, 9.4740, 4.5410)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F37 #1FA78F
analogous
#A71F7B #A71F37 #A74B1F
triadic
#A71F37 #37A71F #1F37A7
tetradic
#A71F37 #7BA71F #1FA78F #4B1FA7
square
#A71F37 #7BA71F #1FA78F #4B1FA7
split-complementary
#A71F37 #1FA74B #1F7BA7
monochromatic
#400C15 #731526 #A71F37 #D82B4A #E15F76

Accessibility & contrast

On white

7.26
#A71F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A71F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F37
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F37#FFFFFF#000000##FFFFFF
##A71F371.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484537
Deuteranopia (green-blind)
#6A6133
Tritanopia (blue-blind)
#B8002A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f37;
/* rgb */ color: rgb(167, 31, 55);
/* oklch */ color: oklch(47.7% 0.170 17.7);
Tailwind
colors: {
  custom: {
    50: '#c96a6d',
    500: '#a71f37',
    950: '#000000',
  },
}
SCSS
$custom: #a71f37;
$custom-light: #c96a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f37",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 349.412,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.16984,
    "h": 17.7
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#A71F37
secondary
#5CC6B3
accent
#ECCD3C
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150707
muted
#837A7A

Preview Lab

Preview with #A71F37

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

Preview Lab → · Contrast checker → · Palette generator →

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