#A5222D#A5222D

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

Color values

HEX#A5222D
RGBrgb(165, 34, 45)
HSLhsl(355, 66%, 39%)
HSVhsv(355, 79%, 65%)
CMYKcmyk(0%, 79.4%, 72.7%, 35.3%)
CIE-LABlab(36.62, 52.47, 27.68)
CIE-LCHlch(36.62, 59.32, 27.81°)
OKLaboklab(47.4% 0.1535 0.0633)
OKLCHoklch(47.4% 0.166 22.4)
XYZxyz(16.5647, 9.3355, 3.4118)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5222D #22A59A
analogous
#A5226F #A5222D #A55922
triadic
#A5222D #2DA522 #222DA5
tetradic
#A5222D #6FA522 #22A59A #5922A5
square
#A5222D #6FA522 #22A59A #5922A5
split-complementary
#A5222D #22A559 #226FA5
monochromatic
#400D11 #72181F #A5222D #D4303E #DF636D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5222D#FFFFFF#000000##FFFFFF
##A5222D1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5222d;
/* rgb */ color: rgb(165, 34, 45);
/* oklch */ color: oklch(47.4% 0.166 22.4);
Tailwind
colors: {
  custom: {
    50: '#c86a66',
    500: '#a5222d',
    950: '#000000',
  },
}
SCSS
$custom: #a5222d;
$custom-light: #c86a66;
$custom-dark: #000000;
JSON
{
  "hex": "#a5222d",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 45
  },
  "hsl": {
    "h": 354.962,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47402,
    "c": 0.16604,
    "h": 22.4
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#A5222D
secondary
#5FC4BB
accent
#E9DB3F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A5222D

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

Preview Lab → · Contrast checker → · Palette generator →

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