#A52227#A52227

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

Color values

HEX#A52227
RGBrgb(165, 34, 39)
HSLhsl(358, 66%, 39%)
HSVhsv(358, 79%, 65%)
CMYKcmyk(0%, 79.4%, 76.4%, 35.3%)
CIE-LABlab(36.54, 52.21, 31.23)
CIE-LCHlch(36.54, 60.84, 30.89°)
OKLaboklab(47.32% 0.1513 0.0697)
OKLCHoklch(47.32% 0.167 24.7)
XYZxyz(16.4572, 9.2925, 2.8462)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52227 #22A5A0
analogous
#A52269 #A52227 #A55F22
triadic
#A52227 #27A522 #2227A5
tetradic
#A52227 #69A522 #22A5A0 #5F22A5
square
#A52227 #69A522 #22A5A0 #5F22A5
split-complementary
#A52227 #22A55F #2269A5
monochromatic
#400D0F #72181B #A52227 #D43036 #DF6367

Accessibility & contrast

On white

7.35
#A52227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A52227
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52227#FFFFFF#000000##FFFFFF
##A522271.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52227;
/* rgb */ color: rgb(165, 34, 39);
/* oklch */ color: oklch(47.3% 0.167 24.7);
Tailwind
colors: {
  custom: {
    50: '#c86a61',
    500: '#a52227',
    950: '#000000',
  },
}
SCSS
$custom: #a52227;
$custom-light: #c86a61;
$custom-dark: #000000;
JSON
{
  "hex": "#a52227",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.71,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.1666,
    "h": 24.7
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#A52227
secondary
#5FC4C0
accent
#E9E23F
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A52227

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

Preview Lab → · Contrast checker → · Palette generator →

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