#A52031#A52031

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

Color values

HEX#A52031
RGBrgb(165, 32, 49)
HSLhsl(352, 68%, 39%)
HSVhsv(352, 81%, 65%)
CMYKcmyk(0%, 80.6%, 70.3%, 35.3%)
CIE-LABlab(36.47, 53.25, 25.01)
CIE-LCHlch(36.47, 58.83, 25.16°)
OKLaboklab(47.31% 0.1569 0.0581)
OKLCHoklch(47.31% 0.167 20.3)
XYZxyz(16.5898, 9.2567, 3.8183)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52031 #20A594
analogous
#A52073 #A52031 #A55120
triadic
#A52031 #31A520 #2031A5
tetradic
#A52031 #73A520 #20A594 #5120A5
square
#A52031 #73A520 #20A594 #5120A5
split-complementary
#A52031 #20A551 #2073A5
monochromatic
#3E0C13 #721622 #A52031 #D62C42 #E05F70

Accessibility & contrast

On white

7.37
#A52031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A52031
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52031#FFFFFF#000000##FFFFFF
##A520311.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494431
Deuteranopia (green-blind)
#6A602D
Tritanopia (blue-blind)
#B60028
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a52031;
/* rgb */ color: rgb(165, 32, 49);
/* oklch */ color: oklch(47.3% 0.167 20.3);
Tailwind
colors: {
  custom: {
    50: '#c86969',
    500: '#a52031',
    950: '#000000',
  },
}
SCSS
$custom: #a52031;
$custom-light: #c86969;
$custom-dark: #000000;
JSON
{
  "hex": "#a52031",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 49
  },
  "hsl": {
    "h": 352.331,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.16734,
    "h": 20.3
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#A52031
secondary
#5CC5B7
accent
#EAD43D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A52031

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

Preview Lab → · Contrast checker → · Palette generator →

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