#A5252D#A5252D

#A5252D is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.6% C 0.164 H 23.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A5252D
RGBrgb(165, 37, 45)
HSLhsl(356, 63%, 40%)
HSVhsv(356, 78%, 65%)
CMYKcmyk(0%, 77.6%, 72.7%, 35.3%)
CIE-LABlab(36.96, 51.53, 28.07)
CIE-LCHlch(36.96, 58.68, 28.58°)
OKLaboklab(47.65% 0.1505 0.0641)
OKLCHoklch(47.65% 0.164 23.1)
XYZxyz(16.6542, 9.5145, 3.4417)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5252D #25A59D
analogous
#A5256D #A5252D #A55D25
triadic
#A5252D #2DA525 #252DA5
tetradic
#A5252D #6DA525 #25A59D #5D25A5
square
#A5252D #6DA525 #25A59D #5D25A5
split-complementary
#A5252D #25A55D #256DA5
monochromatic
#410F12 #731A1F #A5252D #D2353F #DD676F

Accessibility & contrast

On white

7.24
#A5252D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A5252D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5252D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5252D#FFFFFF#000000##FFFFFF
##A5252D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C452C
Deuteranopia (green-blind)
#6B6129
Tritanopia (blue-blind)
#B60029
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5252d;
/* rgb */ color: rgb(165, 37, 45);
/* oklch */ color: oklch(47.6% 0.164 23.1);
Tailwind
colors: {
  custom: {
    50: '#c86b66',
    500: '#a5252d',
    950: '#000000',
  },
}
SCSS
$custom: #a5252d;
$custom-light: #c86b66;
$custom-dark: #000000;
JSON
{
  "hex": "#a5252d",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 356.25,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4765,
    "c": 0.16362,
    "h": 23.1
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#A5252D
secondary
#63C3BD
accent
#E6DC41
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A5252D

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

Preview Lab → · Contrast checker → · Palette generator →

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