#A5212F#A5212F

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

Color values

HEX#A5212F
RGBrgb(165, 33, 47)
HSLhsl(354, 67%, 39%)
HSVhsv(354, 80%, 65%)
CMYKcmyk(0%, 80%, 71.5%, 35.3%)
CIE-LABlab(36.55, 52.86, 26.35)
CIE-LCHlch(36.55, 59.06, 26.49°)
OKLaboklab(47.36% 0.1552 0.0607)
OKLCHoklch(47.36% 0.167 21.4)
XYZxyz(16.5759, 9.2949, 3.6101)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5212F #21A597
analogous
#A52171 #A5212F #A55521
triadic
#A5212F #2FA521 #212FA5
tetradic
#A5212F #71A521 #21A597 #5521A5
square
#A5212F #71A521 #21A597 #5521A5
split-complementary
#A5212F #21A555 #2171A5
monochromatic
#3F0D12 #721720 #A5212F #D52E40 #DF616E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5212F#FFFFFF#000000##FFFFFF
##A5212F1.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)
#49442E
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#B60028
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a5212f;
/* rgb */ color: rgb(165, 33, 47);
/* oklch */ color: oklch(47.4% 0.167 21.4);
Tailwind
colors: {
  custom: {
    50: '#c86a67',
    500: '#a5212f',
    950: '#000000',
  },
}
SCSS
$custom: #a5212f;
$custom-light: #c86a67;
$custom-dark: #000000;
JSON
{
  "hex": "#a5212f",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 353.636,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47355,
    "c": 0.16668,
    "h": 21.4
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#A5212F
secondary
#5EC4B9
accent
#EAD73E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A5212F

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

Preview Lab → · Contrast checker → · Palette generator →

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