#A5222A#A5222A

#A5222A is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.4% C 0.166 H 23.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#A5222A
RGBrgb(165, 34, 42)
HSLhsl(356, 66%, 39%)
HSVhsv(356, 79%, 65%)
CMYKcmyk(0%, 79.4%, 74.5%, 35.3%)
CIE-LABlab(36.58, 52.33, 29.46)
CIE-LCHlch(36.58, 60.06, 29.38°)
OKLaboklab(47.36% 0.1524 0.0665)
OKLCHoklch(47.36% 0.166 23.6)
XYZxyz(16.5089, 9.3132, 3.1184)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5222A #22A59D
analogous
#A5226C #A5222A #A55C22
triadic
#A5222A #2AA522 #222AA5
tetradic
#A5222A #6CA522 #22A59D #5C22A5
square
#A5222A #6CA522 #22A59D #5C22A5
split-complementary
#A5222A #22A55C #226CA5
monochromatic
#400D10 #72181D #A5222A #D4303A #DF636A

Accessibility & contrast

On white

7.34
#A5222A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A5222A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5222A
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5222A#FFFFFF#000000##FFFFFF
##A5222A1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4429
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#B60027
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a5222a;
/* rgb */ color: rgb(165, 34, 42);
/* oklch */ color: oklch(47.4% 0.166 23.6);
Tailwind
colors: {
  custom: {
    50: '#c86a63',
    500: '#a5222a',
    950: '#000000',
  },
}
SCSS
$custom: #a5222a;
$custom-light: #c86a63;
$custom-dark: #000000;
JSON
{
  "hex": "#a5222a",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 42
  },
  "hsl": {
    "h": 356.336,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47358,
    "c": 0.1663,
    "h": 23.6
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#A5222A
secondary
#5FC4BE
accent
#E9DE3F
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A5222A

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

Preview Lab → · Contrast checker → · Palette generator →

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