#A5282A#A5282A

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

Color values

HEX#A5282A
RGBrgb(165, 40, 42)
HSLhsl(359, 61%, 40%)
HSVhsv(359, 76%, 65%)
CMYKcmyk(0%, 75.8%, 74.5%, 35.3%)
CIE-LABlab(37.27, 50.39, 30.26)
CIE-LCHlch(37.27, 58.78, 30.98°)
OKLaboklab(47.87% 0.1463 0.0683)
OKLCHoklch(47.87% 0.161 25)
XYZxyz(16.6957, 9.6867, 3.1806)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5282A #28A5A3
analogous
#A52868 #A5282A #A56428
triadic
#A5282A #2AA528 #282AA5
tetradic
#A5282A #68A528 #28A5A3 #6428A5
square
#A5282A #68A528 #28A5A3 #6428A5
split-complementary
#A5282A #28A564 #2868A5
monochromatic
#421011 #741C1D #A5282A #CF3B3D #DB6C6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5282A#FFFFFF#000000##FFFFFF
##A5282A1.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)
#4D4629
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#B6002A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5282a;
/* rgb */ color: rgb(165, 40, 42);
/* oklch */ color: oklch(47.9% 0.161 25.0);
Tailwind
colors: {
  custom: {
    50: '#c86c64',
    500: '#a5282a',
    950: '#000000',
  },
}
SCSS
$custom: #a5282a;
$custom-light: #c86c64;
$custom-dark: #000000;
JSON
{
  "hex": "#a5282a",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 359.04,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.1614,
    "h": 25
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#A5282A
secondary
#67C2C0
accent
#E4E244
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A5282A

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

Preview Lab → · Contrast checker → · Palette generator →

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