#A5291B#A5291B

#A5291B is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.8% C 0.163 H 30.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A5291B
RGBrgb(165, 41, 27)
HSLhsl(6, 72%, 38%)
HSVhsv(6, 84%, 65%)
CMYKcmyk(0%, 75.2%, 83.6%, 35.3%)
CIE-LABlab(37.24, 49.50, 38.73)
CIE-LCHlch(37.24, 62.85, 38.04°)
OKLaboklab(47.8% 0.1403 0.0822)
OKLCHoklch(47.8% 0.163 30.3)
XYZxyz(16.5098, 9.6670, 2.0333)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5291B #1B97A5
analogous
#A51B52 #A5291B #A56E1B
triadic
#A5291B #1BA529 #291BA5
tetradic
#A5291B #52A51B #1B97A5 #6E1BA5
square
#A5291B #52A51B #1B97A5 #6E1BA5
split-complementary
#A5291B #1BA56E #1B52A5
monochromatic
#3C0F0A #701C12 #A5291B #DA3624 #E36557

Accessibility & contrast

On white

7.16
#A5291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A5291B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5291B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5291B#FFFFFF#000000##FFFFFF
##A5291B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4618
Deuteranopia (green-blind)
#6E6114
Tritanopia (blue-blind)
#B60027
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5291b;
/* rgb */ color: rgb(165, 41, 27);
/* oklch */ color: oklch(47.8% 0.163 30.3);
Tailwind
colors: {
  custom: {
    50: '#c96d59',
    500: '#a5291b',
    950: '#000000',
  },
}
SCSS
$custom: #a5291b;
$custom-light: #c96d59;
$custom-dark: #000000;
JSON
{
  "hex": "#a5291b",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 6.087,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47795,
    "c": 0.16262,
    "h": 30.3
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#A5291B
secondary
#55BBC7
accent
#DCEF39
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A5291B

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

Preview Lab → · Contrast checker → · Palette generator →

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