#A71F35#A71F35

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

Color values

HEX#A71F35
RGBrgb(167, 31, 53)
HSLhsl(350, 69%, 39%)
HSVhsv(350, 81%, 65%)
CMYKcmyk(0%, 81.4%, 68.3%, 34.5%)
CIE-LABlab(36.85, 54.32, 23.04)
CIE-LCHlch(36.85, 59.00, 22.99°)
OKLaboklab(47.68% 0.161 0.0542)
OKLCHoklch(47.68% 0.17 18.6)
XYZxyz(17.0709, 9.4552, 4.2936)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F35 #1FA791
analogous
#A71F79 #A71F35 #A74D1F
triadic
#A71F35 #35A71F #1F35A7
tetradic
#A71F35 #79A71F #1FA791 #4D1FA7
square
#A71F35 #79A71F #1FA791 #4D1FA7
split-complementary
#A71F35 #1FA74D #1F79A7
monochromatic
#400C14 #731525 #A71F35 #D82B47 #E15F74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F35#FFFFFF#000000##FFFFFF
##A71F351.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)
#494435
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#B80029
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f35;
/* rgb */ color: rgb(167, 31, 53);
/* oklch */ color: oklch(47.7% 0.170 18.6);
Tailwind
colors: {
  custom: {
    50: '#c9696c',
    500: '#a71f35',
    950: '#000000',
  },
}
SCSS
$custom: #a71f35;
$custom-light: #c9696c;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f35",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 350.294,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4768,
    "c": 0.16987,
    "h": 18.6
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A71F35

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

Preview Lab → · Contrast checker → · Palette generator →

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