#A5212C#A5212C

#A5212C is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.167 H 22.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A5212C
RGBrgb(165, 33, 44)
HSLhsl(355, 67%, 39%)
HSVhsv(355, 80%, 65%)
CMYKcmyk(0%, 80%, 73.3%, 35.3%)
CIE-LABlab(36.50, 52.72, 28.15)
CIE-LCHlch(36.50, 59.77, 28.10°)
OKLaboklab(47.31% 0.1541 0.0641)
OKLCHoklch(47.31% 0.167 22.6)
XYZxyz(16.5175, 9.2715, 3.3023)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5212C #21A59A
analogous
#A5216E #A5212C #A55821
triadic
#A5212C #2CA521 #212CA5
tetradic
#A5212C #6EA521 #21A59A #5821A5
square
#A5212C #6EA521 #21A59A #5821A5
split-complementary
#A5212C #21A558 #216EA5
monochromatic
#3F0D11 #72171E #A5212C #D52E3C #DF616C

Accessibility & contrast

On white

7.36
#A5212C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A5212C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5212C
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5212C#FFFFFF#000000##FFFFFF
##A5212C1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442B
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#B60027
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a5212c;
/* rgb */ color: rgb(165, 33, 44);
/* oklch */ color: oklch(47.3% 0.167 22.6);
Tailwind
colors: {
  custom: {
    50: '#c86a65',
    500: '#a5212c',
    950: '#000000',
  },
}
SCSS
$custom: #a5212c;
$custom-light: #c86a65;
$custom-dark: #000000;
JSON
{
  "hex": "#a5212c",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 44
  },
  "hsl": {
    "h": 355,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47308,
    "c": 0.1669,
    "h": 22.6
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#A5212C
secondary
#5EC4BC
accent
#EADB3E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A5212C

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

Preview Lab → · Contrast checker → · Palette generator →

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