#A52838#A52838

#A52838 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.1% C 0.160 H 18.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A52838
RGBrgb(165, 40, 56)
HSLhsl(352, 61%, 40%)
HSVhsv(352, 76%, 65%)
CMYKcmyk(0%, 75.8%, 66.1%, 35.3%)
CIE-LABlab(37.49, 51.10, 21.88)
CIE-LCHlch(37.49, 55.59, 23.17°)
OKLaboklab(48.1% 0.1516 0.0521)
OKLCHoklch(48.1% 0.16 18.9)
XYZxyz(16.9915, 9.8050, 4.7385)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52838 #28A595
analogous
#A52876 #A52838 #A55628
triadic
#A52838 #38A528 #2838A5
tetradic
#A52838 #76A528 #28A595 #5628A5
square
#A52838 #76A528 #28A595 #5628A5
split-complementary
#A52838 #28A556 #2876A5
monochromatic
#421017 #741C27 #A52838 #CF3B4E #DB6C7A

Accessibility & contrast

On white

7.09
#A52838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A52838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52838
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52838#FFFFFF#000000##FFFFFF
##A528381.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4738
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#B5002F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52838;
/* rgb */ color: rgb(165, 40, 56);
/* oklch */ color: oklch(48.1% 0.160 18.9);
Tailwind
colors: {
  custom: {
    50: '#c76d6e',
    500: '#a52838',
    950: '#000000',
  },
}
SCSS
$custom: #a52838;
$custom-light: #c76d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a52838",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 352.32,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48103,
    "c": 0.16029,
    "h": 18.9
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#A52838
secondary
#67C2B6
accent
#E4D044
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140807
muted
#837B7A

Preview Lab

Preview with #A52838

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

Preview Lab → · Contrast checker → · Palette generator →

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