#A5252F#A5252F

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

Color values

HEX#A5252F
RGBrgb(165, 37, 47)
HSLhsl(355, 63%, 40%)
HSVhsv(355, 78%, 65%)
CMYKcmyk(0%, 77.6%, 71.5%, 35.3%)
CIE-LABlab(36.99, 51.62, 26.87)
CIE-LCHlch(36.99, 58.20, 27.50°)
OKLaboklab(47.68% 0.1513 0.0619)
OKLCHoklch(47.68% 0.163 22.2)
XYZxyz(16.6936, 9.5303, 3.6493)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5252F #25A59B
analogous
#A5256F #A5252F #A55B25
triadic
#A5252F #2FA525 #252FA5
tetradic
#A5252F #6FA525 #25A59B #5B25A5
square
#A5252F #6FA525 #25A59B #5B25A5
split-complementary
#A5252F #25A55B #256FA5
monochromatic
#410F13 #731A21 #A5252F #D23542 #DD6771

Accessibility & contrast

On white

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

On black

2.91
#A5252F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A5252F#FFFFFF#000000##FFFFFF
##A5252F1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5252f;
/* rgb */ color: rgb(165, 37, 47);
/* oklch */ color: oklch(47.7% 0.163 22.2);
Tailwind
colors: {
  custom: {
    50: '#c86b67',
    500: '#a5252f',
    950: '#000000',
  },
}
SCSS
$custom: #a5252f;
$custom-light: #c86b67;
$custom-dark: #000000;
JSON
{
  "hex": "#a5252f",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 355.313,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.16344,
    "h": 22.2
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#A5252F
secondary
#63C3BB
accent
#E6DA41
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A5252F

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

Preview Lab → · Contrast checker → · Palette generator →

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