#A52840#A52840

#A52840 is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.3% C 0.160 H 15.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A52840
RGBrgb(165, 40, 64)
HSLhsl(348, 61%, 40%)
HSVhsv(348, 76%, 65%)
CMYKcmyk(0%, 75.8%, 61.2%, 35.3%)
CIE-LABlab(37.64, 51.61, 17.01)
CIE-LCHlch(37.64, 54.34, 18.24°)
OKLaboklab(48.27% 0.1548 0.0416)
OKLCHoklch(48.27% 0.16 15)
XYZxyz(17.2030, 9.8896, 5.8525)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52840 #28A58D
analogous
#A5287E #A52840 #A54E28
triadic
#A52840 #40A528 #2840A5
tetradic
#A52840 #7EA528 #28A58D #4E28A5
square
#A52840 #7EA528 #28A58D #4E28A5
split-complementary
#A52840 #28A54E #287EA5
monochromatic
#42101A #741C2D #A52840 #CF3B57 #DB6C81

Accessibility & contrast

On white

7.05
#A52840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A52840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52840
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52840#FFFFFF#000000##FFFFFF
##A528401.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4840
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#B50032
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a52840;
/* rgb */ color: rgb(165, 40, 64);
/* oklch */ color: oklch(48.3% 0.160 15.0);
Tailwind
colors: {
  custom: {
    50: '#c66d74',
    500: '#a52840',
    950: '#000000',
  },
}
SCSS
$custom: #a52840;
$custom-light: #c66d74;
$custom-dark: #000000;
JSON
{
  "hex": "#a52840",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 348.48,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.16032,
    "h": 15
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#A52840
secondary
#67C2B0
accent
#E4C544
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #A52840

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

Preview Lab → · Contrast checker → · Palette generator →

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