#A7291E#A7291E

#A7291E is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.2% C 0.164 H 29.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A7291E
RGBrgb(167, 41, 30)
HSLhsl(5, 70%, 39%)
HSVhsv(5, 82%, 65%)
CMYKcmyk(0%, 75.4%, 82%, 34.5%)
CIE-LABlab(37.66, 50.24, 37.67)
CIE-LCHlch(37.66, 62.79, 36.86°)
OKLaboklab(48.19% 0.143 0.0807)
OKLCHoklch(48.19% 0.164 29.5)
XYZxyz(16.9657, 9.8978, 2.2452)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7291E #1E9CA7
analogous
#A71E57 #A7291E #A76D1E
triadic
#A7291E #1EA729 #291EA7
tetradic
#A7291E #57A71E #1E9CA7 #6D1EA7
square
#A7291E #57A71E #1E9CA7 #6D1EA7
split-complementary
#A7291E #1EA76D #1E57A7
monochromatic
#3F100B #731C15 #A7291E #D9382A #E2685D

Accessibility & contrast

On white

7.05
#A7291E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A7291E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7291E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7291E#FFFFFF#000000##FFFFFF
##A7291E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471B
Deuteranopia (green-blind)
#6F6318
Tritanopia (blue-blind)
#B80028
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7291e;
/* rgb */ color: rgb(167, 41, 30);
/* oklch */ color: oklch(48.2% 0.164 29.5);
Tailwind
colors: {
  custom: {
    50: '#ca6d5b',
    500: '#a7291e',
    950: '#000000',
  },
}
SCSS
$custom: #a7291e;
$custom-light: #ca6d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7291e",
  "rgb": {
    "r": 167,
    "g": 41,
    "b": 30
  },
  "hsl": {
    "h": 4.818,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48188,
    "c": 0.1642,
    "h": 29.5
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#A7291E
secondary
#5BBEC6
accent
#DEEC3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A7291E

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

Preview Lab → · Contrast checker → · Palette generator →

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