#A71E27#A71E27

#A71E27 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.4% C 0.171 H 24.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A71E27
RGBrgb(167, 30, 39)
HSLhsl(356, 70%, 39%)
HSVhsv(356, 82%, 65%)
CMYKcmyk(0%, 82%, 76.6%, 34.5%)
CIE-LABlab(36.54, 53.95, 31.35)
CIE-LCHlch(36.54, 62.40, 30.16°)
OKLaboklab(47.39% 0.1566 0.0698)
OKLCHoklch(47.39% 0.171 24)
XYZxyz(16.7689, 9.2932, 2.8299)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E27 #1EA79E
analogous
#A71E6B #A71E27 #A7591E
triadic
#A71E27 #27A71E #1E27A7
tetradic
#A71E27 #6BA71E #1EA79E #591EA7
square
#A71E27 #6BA71E #1EA79E #591EA7
split-complementary
#A71E27 #1EA759 #1E6BA7
monochromatic
#3F0B0F #73151B #A71E27 #D92A35 #E25D66

Accessibility & contrast

On white

7.35
#A71E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A71E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71E27
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E27#FFFFFF#000000##FFFFFF
##A71E271.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4326
Deuteranopia (green-blind)
#6C6022
Tritanopia (blue-blind)
#B80023
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71e27;
/* rgb */ color: rgb(167, 30, 39);
/* oklch */ color: oklch(47.4% 0.171 24.0);
Tailwind
colors: {
  custom: {
    50: '#ca6961',
    500: '#a71e27',
    950: '#000000',
  },
}
SCSS
$custom: #a71e27;
$custom-light: #ca6961;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e27",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 356.058,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47389,
    "c": 0.17145,
    "h": 24
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#A71E27
secondary
#5BC6BF
accent
#ECE13B
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A71E27

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

Preview Lab → · Contrast checker → · Palette generator →

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