#A5291F#A5291F

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

Color values

HEX#A5291F
RGBrgb(165, 41, 31)
HSLhsl(4, 68%, 38%)
HSVhsv(4, 81%, 65%)
CMYKcmyk(0%, 75.2%, 81.2%, 35.3%)
CIE-LABlab(37.27, 49.63, 36.61)
CIE-LCHlch(37.27, 61.67, 36.42°)
OKLaboklab(47.83% 0.1415 0.079)
OKLCHoklch(47.83% 0.162 29.2)
XYZxyz(16.5593, 9.6867, 2.2939)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5291F #1F9BA5
analogous
#A51F58 #A5291F #A56C1F
triadic
#A5291F #1FA529 #291FA5
tetradic
#A5291F #58A51F #1F9BA5 #6C1FA5
square
#A5291F #58A51F #1F9BA5 #6C1FA5
split-complementary
#A5291F #1FA56C #1F58A5
monochromatic
#3E0F0C #711C15 #A5291F #D7372A #E1675E

Accessibility & contrast

On white

7.15
#A5291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A5291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5291F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5291F#FFFFFF#000000##FFFFFF
##A5291F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461C
Deuteranopia (green-blind)
#6D6219
Tritanopia (blue-blind)
#B60028
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5291f;
/* rgb */ color: rgb(165, 41, 31);
/* oklch */ color: oklch(47.8% 0.162 29.2);
Tailwind
colors: {
  custom: {
    50: '#c96d5c',
    500: '#a5291f',
    950: '#000000',
  },
}
SCSS
$custom: #a5291f;
$custom-light: #c96d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5291f",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 4.478,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.16204,
    "h": 29.2
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#A5291F
secondary
#5BBDC5
accent
#DEEB3D
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A5291F

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

Preview Lab → · Contrast checker → · Palette generator →

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