#A5212E#A5212E

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

Color values

HEX#A5212E
RGBrgb(165, 33, 46)
HSLhsl(354, 67%, 39%)
HSVhsv(354, 80%, 65%)
CMYKcmyk(0%, 80%, 72.1%, 35.3%)
CIE-LABlab(36.53, 52.81, 26.95)
CIE-LCHlch(36.53, 59.29, 27.03°)
OKLaboklab(47.34% 0.1548 0.0619)
OKLCHoklch(47.34% 0.167 21.8)
XYZxyz(16.5560, 9.2869, 3.5051)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5212E #21A598
analogous
#A52170 #A5212E #A55621
triadic
#A5212E #2EA521 #212EA5
tetradic
#A5212E #70A521 #21A598 #5621A5
square
#A5212E #70A521 #21A598 #5621A5
split-complementary
#A5212E #21A556 #2170A5
monochromatic
#3F0D12 #721720 #A5212E #D52E3E #DF616D

Accessibility & contrast

On white

7.35
#A5212E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A5212E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5212E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5212E#FFFFFF#000000##FFFFFF
##A5212E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5212e;
/* rgb */ color: rgb(165, 33, 46);
/* oklch */ color: oklch(47.3% 0.167 21.8);
Tailwind
colors: {
  custom: {
    50: '#c86a66',
    500: '#a5212e',
    950: '#000000',
  },
}
SCSS
$custom: #a5212e;
$custom-light: #c86a66;
$custom-dark: #000000;
JSON
{
  "hex": "#a5212e",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 354.091,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.16675,
    "h": 21.8
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

primary
#A5212E
secondary
#5EC4BA
accent
#EAD93E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A5212E

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

Preview Lab → · Contrast checker → · Palette generator →

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