#A52228#A52228

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

Color values

HEX#A52228
RGBrgb(165, 34, 40)
HSLhsl(357, 66%, 39%)
HSVhsv(357, 79%, 65%)
CMYKcmyk(0%, 79.4%, 75.8%, 35.3%)
CIE-LABlab(36.55, 52.25, 30.65)
CIE-LCHlch(36.55, 60.58, 30.39°)
OKLaboklab(47.33% 0.1517 0.0686)
OKLCHoklch(47.33% 0.166 24.3)
XYZxyz(16.4740, 9.2992, 2.9346)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52228 #22A59F
analogous
#A5226A #A52228 #A55E22
triadic
#A52228 #28A522 #2228A5
tetradic
#A52228 #6AA522 #22A59F #5E22A5
square
#A52228 #6AA522 #22A59F #5E22A5
split-complementary
#A52228 #22A55E #226AA5
monochromatic
#400D0F #72181C #A52228 #D43037 #DF6368

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52228#FFFFFF#000000##FFFFFF
##A522281.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)
#4B4427
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#B60026
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a52228;
/* rgb */ color: rgb(165, 34, 40);
/* oklch */ color: oklch(47.3% 0.166 24.3);
Tailwind
colors: {
  custom: {
    50: '#c86a62',
    500: '#a52228',
    950: '#000000',
  },
}
SCSS
$custom: #a52228;
$custom-light: #c86a62;
$custom-dark: #000000;
JSON
{
  "hex": "#a52228",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 357.252,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.16649,
    "h": 24.3
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52228

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

Preview Lab → · Contrast checker → · Palette generator →

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