#A5222E#A5222E

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

Color values

HEX#A5222E
RGBrgb(165, 34, 46)
HSLhsl(355, 66%, 39%)
HSVhsv(355, 79%, 65%)
CMYKcmyk(0%, 79.4%, 72.1%, 35.3%)
CIE-LABlab(36.64, 52.51, 27.07)
CIE-LCHlch(36.64, 59.08, 27.27°)
OKLaboklab(47.42% 0.1539 0.0621)
OKLCHoklch(47.42% 0.166 22)
XYZxyz(16.5841, 9.3432, 3.5144)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5222E #22A599
analogous
#A52270 #A5222E #A55822
triadic
#A5222E #2EA522 #222EA5
tetradic
#A5222E #70A522 #22A599 #5822A5
square
#A5222E #70A522 #22A599 #5822A5
split-complementary
#A5222E #22A558 #2270A5
monochromatic
#400D12 #721820 #A5222E #D4303F #DF636E

Accessibility & contrast

On white

7.32
#A5222E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A5222E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5222E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5222E#FFFFFF#000000##FFFFFF
##A5222E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442D
Deuteranopia (green-blind)
#6B602A
Tritanopia (blue-blind)
#B60028
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a5222e;
/* rgb */ color: rgb(165, 34, 46);
/* oklch */ color: oklch(47.4% 0.166 22.0);
Tailwind
colors: {
  custom: {
    50: '#c86a66',
    500: '#a5222e',
    950: '#000000',
  },
}
SCSS
$custom: #a5222e;
$custom-light: #c86a66;
$custom-dark: #000000;
JSON
{
  "hex": "#a5222e",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 354.504,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47418,
    "c": 0.16596,
    "h": 22
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#A5222E
secondary
#5FC4BB
accent
#E9D93F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A5222E

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

Preview Lab → · Contrast checker → · Palette generator →

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