#A71F32#A71F32

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

Color values

HEX#A71F32
RGBrgb(167, 31, 50)
HSLhsl(352, 69%, 39%)
HSVhsv(352, 81%, 65%)
CMYKcmyk(0%, 81.4%, 70.1%, 34.5%)
CIE-LABlab(36.80, 54.16, 24.87)
CIE-LCHlch(36.80, 59.60, 24.66°)
OKLaboklab(47.63% 0.1598 0.0579)
OKLCHoklch(47.63% 0.17 19.9)
XYZxyz(17.0040, 9.4284, 3.9415)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F32 #1FA794
analogous
#A71F76 #A71F32 #A7501F
triadic
#A71F32 #32A71F #1F32A7
tetradic
#A71F32 #76A71F #1FA794 #501FA7
square
#A71F32 #76A71F #1FA794 #501FA7
split-complementary
#A71F32 #1FA750 #1F76A7
monochromatic
#400C13 #731523 #A71F32 #D82B44 #E15F71

Accessibility & contrast

On white

7.28
#A71F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F32
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F32#FFFFFF#000000##FFFFFF
##A71F321.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494432
Deuteranopia (green-blind)
#6B612E
Tritanopia (blue-blind)
#B80028
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f32;
/* rgb */ color: rgb(167, 31, 50);
/* oklch */ color: oklch(47.6% 0.170 19.9);
Tailwind
colors: {
  custom: {
    50: '#c96969',
    500: '#a71f32',
    950: '#000000',
  },
}
SCSS
$custom: #a71f32;
$custom-light: #c96969;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f32",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 351.618,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47627,
    "c": 0.16996,
    "h": 19.9
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#A71F32
secondary
#5CC6B7
accent
#ECD33C
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A71F32

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

Preview Lab → · Contrast checker → · Palette generator →

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