#A71F34#A71F34

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

Color values

HEX#A71F34
RGBrgb(167, 31, 52)
HSLhsl(351, 69%, 39%)
HSVhsv(351, 81%, 65%)
CMYKcmyk(0%, 81.4%, 68.9%, 34.5%)
CIE-LABlab(36.83, 54.27, 23.65)
CIE-LCHlch(36.83, 59.20, 23.55°)
OKLaboklab(47.66% 0.1606 0.0554)
OKLCHoklch(47.66% 0.17 19)
XYZxyz(17.0481, 9.4461, 4.1738)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F34 #1FA792
analogous
#A71F78 #A71F34 #A74E1F
triadic
#A71F34 #34A71F #1F34A7
tetradic
#A71F34 #78A71F #1FA792 #4E1FA7
square
#A71F34 #78A71F #1FA792 #4E1FA7
split-complementary
#A71F34 #1FA74E #1F78A7
monochromatic
#400C14 #731524 #A71F34 #D82B46 #E15F73

Accessibility & contrast

On white

7.27
#A71F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F34
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F34#FFFFFF#000000##FFFFFF
##A71F341.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494434
Deuteranopia (green-blind)
#6B6130
Tritanopia (blue-blind)
#B80029
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f34;
/* rgb */ color: rgb(167, 31, 52);
/* oklch */ color: oklch(47.7% 0.170 19.0);
Tailwind
colors: {
  custom: {
    50: '#c9696b',
    500: '#a71f34',
    950: '#000000',
  },
}
SCSS
$custom: #a71f34;
$custom-light: #c9696b;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f34",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 350.735,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.16988,
    "h": 19
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#A71F34
secondary
#5CC6B5
accent
#ECD03C
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A71F34

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

Preview Lab → · Contrast checker → · Palette generator →

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