#A5222F#A5222F

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

Color values

HEX#A5222F
RGBrgb(165, 34, 47)
HSLhsl(354, 66%, 39%)
HSVhsv(354, 79%, 65%)
CMYKcmyk(0%, 79.4%, 71.5%, 35.3%)
CIE-LABlab(36.65, 52.56, 26.47)
CIE-LCHlch(36.65, 58.85, 26.73°)
OKLaboklab(47.43% 0.1543 0.061)
OKLCHoklch(47.43% 0.166 21.6)
XYZxyz(16.6041, 9.3512, 3.6195)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5222F #22A598
analogous
#A52271 #A5222F #A55722
triadic
#A5222F #2FA522 #222FA5
tetradic
#A5222F #71A522 #22A598 #5722A5
square
#A5222F #71A522 #22A598 #5722A5
split-complementary
#A5222F #22A557 #2271A5
monochromatic
#400D12 #721821 #A5222F #D43040 #DF636F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5222F#FFFFFF#000000##FFFFFF
##A5222F1.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)
#4A442E
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#B60028
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a5222f;
/* rgb */ color: rgb(165, 34, 47);
/* oklch */ color: oklch(47.4% 0.166 21.6);
Tailwind
colors: {
  custom: {
    50: '#c86a67',
    500: '#a5222f',
    950: '#000000',
  },
}
SCSS
$custom: #a5222f;
$custom-light: #c86a67;
$custom-dark: #000000;
JSON
{
  "hex": "#a5222f",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 47
  },
  "hsl": {
    "h": 354.046,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47434,
    "c": 0.16589,
    "h": 21.6
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

primary
#A5222F
secondary
#5FC4BA
accent
#E9D83F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A5222F

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

Preview Lab → · Contrast checker → · Palette generator →

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