#A5252E#A5252E

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

Color values

HEX#A5252E
RGBrgb(165, 37, 46)
HSLhsl(356, 63%, 40%)
HSVhsv(356, 78%, 65%)
CMYKcmyk(0%, 77.6%, 72.1%, 35.3%)
CIE-LABlab(36.97, 51.58, 27.47)
CIE-LCHlch(36.97, 58.44, 28.04°)
OKLaboklab(47.67% 0.1509 0.063)
OKLCHoklch(47.67% 0.164 22.7)
XYZxyz(16.6737, 9.5223, 3.5443)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5252E #25A59C
analogous
#A5256E #A5252E #A55C25
triadic
#A5252E #2EA525 #252EA5
tetradic
#A5252E #6EA525 #25A59C #5C25A5
square
#A5252E #6EA525 #25A59C #5C25A5
split-complementary
#A5252E #25A55C #256EA5
monochromatic
#410F12 #731A20 #A5252E #D23540 #DD6770

Accessibility & contrast

On white

7.23
#A5252E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5252E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5252E#FFFFFF#000000##FFFFFF
##A5252E1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452D
Deuteranopia (green-blind)
#6B612A
Tritanopia (blue-blind)
#B6002A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5252e;
/* rgb */ color: rgb(165, 37, 46);
/* oklch */ color: oklch(47.7% 0.164 22.7);
Tailwind
colors: {
  custom: {
    50: '#c86b66',
    500: '#a5252e',
    950: '#000000',
  },
}
SCSS
$custom: #a5252e;
$custom-light: #c86b66;
$custom-dark: #000000;
JSON
{
  "hex": "#a5252e",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 46
  },
  "hsl": {
    "h": 355.781,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.16352,
    "h": 22.7
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#A5252E
secondary
#63C3BC
accent
#E6DB41
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A5252E

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

Preview Lab → · Contrast checker → · Palette generator →

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