#A7291F#A7291F

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

Color values

HEX#A7291F
RGBrgb(167, 41, 31)
HSLhsl(4, 69%, 39%)
HSVhsv(4, 81%, 65%)
CMYKcmyk(0%, 75.4%, 81.4%, 34.5%)
CIE-LABlab(37.67, 50.27, 37.14)
CIE-LCHlch(37.67, 62.50, 36.46°)
OKLaboklab(48.2% 0.1433 0.0799)
OKLCHoklch(48.2% 0.164 29.2)
XYZxyz(16.9787, 9.9030, 2.3135)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7291F #1F9DA7
analogous
#A71F59 #A7291F #A76D1F
triadic
#A7291F #1FA729 #291FA7
tetradic
#A7291F #59A71F #1F9DA7 #6D1FA7
square
#A7291F #59A71F #1F9DA7 #6D1FA7
split-complementary
#A7291F #1FA76D #1F59A7
monochromatic
#40100C #731C15 #A7291F #D8382B #E1695F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7291F#FFFFFF#000000##FFFFFF
##A7291F1.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)
#50471C
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#B80028
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7291f;
/* rgb */ color: rgb(167, 41, 31);
/* oklch */ color: oklch(48.2% 0.164 29.2);
Tailwind
colors: {
  custom: {
    50: '#ca6d5c',
    500: '#a7291f',
    950: '#000000',
  },
}
SCSS
$custom: #a7291f;
$custom-light: #ca6d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7291f",
  "rgb": {
    "r": 167,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 4.412,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.16407,
    "h": 29.2
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#A7291F
secondary
#5CBEC6
accent
#DFEC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A7291F

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

Preview Lab → · Contrast checker → · Palette generator →

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