#A5242A#A5242A

#A5242A is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.165 H 24.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A5242A
RGBrgb(165, 36, 42)
HSLhsl(357, 64%, 39%)
HSVhsv(357, 78%, 65%)
CMYKcmyk(0%, 78.2%, 74.5%, 35.3%)
CIE-LABlab(36.80, 51.71, 29.72)
CIE-LCHlch(36.80, 59.64, 29.88°)
OKLaboklab(47.52% 0.1504 0.0671)
OKLCHoklch(47.52% 0.165 24)
XYZxyz(16.5678, 9.4309, 3.1380)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5242A #24A59F
analogous
#A5246B #A5242A #A55E24
triadic
#A5242A #2AA524 #242AA5
tetradic
#A5242A #6BA524 #24A59F #5E24A5
square
#A5242A #6BA524 #24A59F #5E24A5
split-complementary
#A5242A #24A55E #246BA5
monochromatic
#410E10 #73191D #A5242A #D3343B #DE666B

Accessibility & contrast

On white

7.28
#A5242A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A5242A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5242A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5242A#FFFFFF#000000##FFFFFF
##A5242A1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4529
Deuteranopia (green-blind)
#6B6125
Tritanopia (blue-blind)
#B60028
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5242a;
/* rgb */ color: rgb(165, 36, 42);
/* oklch */ color: oklch(47.5% 0.165 24.0);
Tailwind
colors: {
  custom: {
    50: '#c86b63',
    500: '#a5242a',
    950: '#000000',
  },
}
SCSS
$custom: #a5242a;
$custom-light: #c86b63;
$custom-dark: #000000;
JSON
{
  "hex": "#a5242a",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 42
  },
  "hsl": {
    "h": 357.209,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47521,
    "c": 0.16472,
    "h": 24
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#A5242A
secondary
#62C3BF
accent
#E7DF41
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A5242A

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

Preview Lab → · Contrast checker → · Palette generator →

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