#A52831#A52831

#A52831 is a mid, vivid red. Relative luminance 0.097; OKLCH L 48.0% C 0.161 H 22.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A52831
RGBrgb(165, 40, 49)
HSLhsl(356, 61%, 40%)
HSVhsv(356, 76%, 65%)
CMYKcmyk(0%, 75.8%, 70.3%, 35.3%)
CIE-LABlab(37.37, 50.72, 26.10)
CIE-LCHlch(37.37, 57.04, 27.23°)
OKLaboklab(47.98% 0.1489 0.0605)
OKLCHoklch(47.98% 0.161 22.1)
XYZxyz(16.8321, 9.7412, 3.8991)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52831 #28A59C
analogous
#A5286F #A52831 #A55D28
triadic
#A52831 #31A528 #2831A5
tetradic
#A52831 #6FA528 #28A59C #5D28A5
square
#A52831 #6FA528 #28A59C #5D28A5
split-complementary
#A52831 #28A55D #286FA5
monochromatic
#421014 #741C22 #A52831 #CF3B45 #DB6C74

Accessibility & contrast

On white

7.12
#A52831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A52831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52831
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52831#FFFFFF#000000##FFFFFF
##A528311.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4730
Deuteranopia (green-blind)
#6C622D
Tritanopia (blue-blind)
#B6002D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52831;
/* rgb */ color: rgb(165, 40, 49);
/* oklch */ color: oklch(48.0% 0.161 22.1);
Tailwind
colors: {
  custom: {
    50: '#c76d69',
    500: '#a52831',
    950: '#000000',
  },
}
SCSS
$custom: #a52831;
$custom-light: #c76d69;
$custom-dark: #000000;
JSON
{
  "hex": "#a52831",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 355.68,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4798,
    "c": 0.16069,
    "h": 22.1
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#A52831
secondary
#67C2BB
accent
#E4D944
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #A52831

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

Preview Lab → · Contrast checker → · Palette generator →

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