#A5212D#A5212D

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

Color values

HEX#A5212D
RGBrgb(165, 33, 45)
HSLhsl(355, 67%, 39%)
HSVhsv(355, 80%, 65%)
CMYKcmyk(0%, 80%, 72.7%, 35.3%)
CIE-LABlab(36.52, 52.77, 27.55)
CIE-LCHlch(36.52, 59.53, 27.57°)
OKLaboklab(47.32% 0.1545 0.063)
OKLCHoklch(47.32% 0.167 22.2)
XYZxyz(16.5365, 9.2791, 3.4024)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5212D #21A599
analogous
#A5216F #A5212D #A55721
triadic
#A5212D #2DA521 #212DA5
tetradic
#A5212D #6FA521 #21A599 #5721A5
square
#A5212D #6FA521 #21A599 #5721A5
split-complementary
#A5212D #21A557 #216FA5
monochromatic
#3F0D11 #72171F #A5212D #D52E3D #DF616C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5212D#FFFFFF#000000##FFFFFF
##A5212D1.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)
#4A442C
Deuteranopia (green-blind)
#6A6028
Tritanopia (blue-blind)
#B60027
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a5212d;
/* rgb */ color: rgb(165, 33, 45);
/* oklch */ color: oklch(47.3% 0.167 22.2);
Tailwind
colors: {
  custom: {
    50: '#c86a66',
    500: '#a5212d',
    950: '#000000',
  },
}
SCSS
$custom: #a5212d;
$custom-light: #c86a66;
$custom-dark: #000000;
JSON
{
  "hex": "#a5212d",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 45
  },
  "hsl": {
    "h": 354.545,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.16682,
    "h": 22.2
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#A5212D
secondary
#5EC4BB
accent
#EADA3E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A5212D

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

Preview Lab → · Contrast checker → · Palette generator →

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