#A52229#A52229

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

Color values

HEX#A52229
RGBrgb(165, 34, 41)
HSLhsl(357, 66%, 39%)
HSVhsv(357, 79%, 65%)
CMYKcmyk(0%, 79.4%, 75.2%, 35.3%)
CIE-LABlab(36.57, 52.29, 30.06)
CIE-LCHlch(36.57, 60.32, 29.89°)
OKLaboklab(47.34% 0.1521 0.0676)
OKLCHoklch(47.34% 0.166 24)
XYZxyz(16.4913, 9.3061, 3.0253)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52229 #22A59E
analogous
#A5226B #A52229 #A55D22
triadic
#A52229 #29A522 #2229A5
tetradic
#A52229 #6BA522 #22A59E #5D22A5
square
#A52229 #6BA522 #22A59E #5D22A5
split-complementary
#A52229 #22A55D #226BA5
monochromatic
#400D10 #72181C #A52229 #D43039 #DF6369

Accessibility & contrast

On white

7.34
#A52229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A52229
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52229#FFFFFF#000000##FFFFFF
##A522291.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4428
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#B60026
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a52229;
/* rgb */ color: rgb(165, 34, 41);
/* oklch */ color: oklch(47.3% 0.166 24.0);
Tailwind
colors: {
  custom: {
    50: '#c86a63',
    500: '#a52229',
    950: '#000000',
  },
}
SCSS
$custom: #a52229;
$custom-light: #c86a63;
$custom-dark: #000000;
JSON
{
  "hex": "#a52229",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 356.794,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.1664,
    "h": 24
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#A52229
secondary
#5FC4BF
accent
#E9E03F
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A52229

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

Preview Lab → · Contrast checker → · Palette generator →

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