#A5222B#A5222B

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

Color values

HEX#A5222B
RGBrgb(165, 34, 43)
HSLhsl(356, 66%, 39%)
HSVhsv(356, 79%, 65%)
CMYKcmyk(0%, 79.4%, 73.9%, 35.3%)
CIE-LABlab(36.59, 52.38, 28.87)
CIE-LCHlch(36.59, 59.81, 28.86°)
OKLaboklab(47.37% 0.1528 0.0655)
OKLCHoklch(47.37% 0.166 23.2)
XYZxyz(16.5271, 9.3204, 3.2138)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5222B #22A59C
analogous
#A5226D #A5222B #A55B22
triadic
#A5222B #2BA522 #222BA5
tetradic
#A5222B #6DA522 #22A59C #5B22A5
square
#A5222B #6DA522 #22A59C #5B22A5
split-complementary
#A5222B #22A55B #226DA5
monochromatic
#400D11 #72181E #A5222B #D4303B #DF636B

Accessibility & contrast

On white

7.33
#A5222B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5222B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5222B#FFFFFF#000000##FFFFFF
##A5222B1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5222b;
/* rgb */ color: rgb(165, 34, 43);
/* oklch */ color: oklch(47.4% 0.166 23.2);
Tailwind
colors: {
  custom: {
    50: '#c86a64',
    500: '#a5222b',
    950: '#000000',
  },
}
SCSS
$custom: #a5222b;
$custom-light: #c86a64;
$custom-dark: #000000;
JSON
{
  "hex": "#a5222b",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 43
  },
  "hsl": {
    "h": 355.878,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.16621,
    "h": 23.2
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#A5222B
secondary
#5FC4BD
accent
#E9DD3F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A5222B

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

Preview Lab → · Contrast checker → · Palette generator →

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