#A52222#A52222

#A52222 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.167 H 26.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A52222
RGBrgb(165, 34, 34)
HSLhsl(0, 66%, 39%)
HSVhsv(0, 79%, 65%)
CMYKcmyk(0%, 79.4%, 79.4%, 35.3%)
CIE-LABlab(36.48, 52.02, 34.11)
CIE-LCHlch(36.48, 62.21, 33.25°)
OKLaboklab(47.25% 0.1497 0.0745)
OKLCHoklch(47.25% 0.167 26.5)
XYZxyz(16.3798, 9.2615, 2.4383)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52222 #22A5A5
analogous
#A52264 #A52222 #A56422
triadic
#A52222 #22A522 #2222A5
tetradic
#A52222 #64A522 #22A5A5 #6422A5
square
#A52222 #64A522 #22A5A5 #6422A5
split-complementary
#A52222 #22A564 #2264A5
monochromatic
#400D0D #721818 #A52222 #D43030 #DF6363

Accessibility & contrast

On white

7.36
#A52222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A52222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52222
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52222#FFFFFF#000000##FFFFFF
##A522221.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4420
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#B60024
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a52222;
/* rgb */ color: rgb(165, 34, 34);
/* oklch */ color: oklch(47.3% 0.167 26.5);
Tailwind
colors: {
  custom: {
    50: '#c96a5e',
    500: '#a52222',
    950: '#000000',
  },
}
SCSS
$custom: #a52222;
$custom-light: #c96a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#a52222",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47254,
    "c": 0.16717,
    "h": 26.5
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#A52222
secondary
#5FC4C4
accent
#E9E93F
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A52222

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

Preview Lab → · Contrast checker → · Palette generator →

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