#A7291C#A7291C

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

Color values

HEX#A7291C
RGBrgb(167, 41, 28)
HSLhsl(6, 71%, 38%)
HSVhsv(6, 83%, 65%)
CMYKcmyk(0%, 75.4%, 83.2%, 34.5%)
CIE-LABlab(37.64, 50.18, 38.72)
CIE-LCHlch(37.64, 63.38, 37.66°)
OKLaboklab(48.17% 0.1424 0.0823)
OKLCHoklch(48.17% 0.164 30)
XYZxyz(16.9409, 9.8879, 2.1149)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7291C #1C9AA7
analogous
#A71C54 #A7291C #A76F1C
triadic
#A7291C #1CA729 #291CA7
tetradic
#A7291C #54A71C #1C9AA7 #6F1CA7
square
#A7291C #54A71C #1C9AA7 #6F1CA7
split-complementary
#A7291C #1CA76F #1C54A7
monochromatic
#3E0F0A #731C13 #A7291C #DB3726 #E3675A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7291C#FFFFFF#000000##FFFFFF
##A7291C1.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)
#504719
Deuteranopia (green-blind)
#6F6315
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7291c;
/* rgb */ color: rgb(167, 41, 28);
/* oklch */ color: oklch(48.2% 0.164 30.0);
Tailwind
colors: {
  custom: {
    50: '#ca6d5a',
    500: '#a7291c',
    950: '#000000',
  },
}
SCSS
$custom: #a7291c;
$custom-light: #ca6d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7291c",
  "rgb": {
    "r": 167,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 5.612,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.16449,
    "h": 30
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#A7291C
secondary
#58BDC7
accent
#DDEE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A7291C

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

Preview Lab → · Contrast checker → · Palette generator →

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