#A21D1F#A21D1F

#A21D1F is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.168 H 26.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A21D1F
RGBrgb(162, 29, 31)
HSLhsl(359, 70%, 37%)
HSVhsv(359, 82%, 64%)
CMYKcmyk(0%, 82.1%, 80.9%, 36.5%)
CIE-LABlab(35.32, 52.47, 34.46)
CIE-LCHlch(35.32, 62.77, 33.29°)
OKLaboklab(46.28% 0.1508 0.0745)
OKLCHoklch(46.28% 0.168 26.3)
XYZxyz(15.5889, 8.6616, 2.1471)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A21D1F #1DA2A0
analogous
#A21D61 #A21D1F #A25E1D
triadic
#A21D1F #1FA21D #1D1FA2
tetradic
#A21D1F #61A21D #1DA2A0 #5E1DA2
square
#A21D1F #61A21D #1DA2A0 #5E1DA2
split-complementary
#A21D1F #1DA25E #1D61A2
monochromatic
#3A0A0B #6E1415 #A21D1F #D62629 #E1585A

Accessibility & contrast

On white

7.69
#A21D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#A21D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A21D1F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A21D1F#FFFFFF#000000##FFFFFF
##A21D1F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411D
Deuteranopia (green-blind)
#695D19
Tritanopia (blue-blind)
#B30020
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a21d1f;
/* rgb */ color: rgb(162, 29, 31);
/* oklch */ color: oklch(46.3% 0.168 26.3);
Tailwind
colors: {
  custom: {
    50: '#c7675b',
    500: '#a21d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a21d1f;
$custom-light: #c7675b;
$custom-dark: #000000;
JSON
{
  "hex": "#a21d1f",
  "rgb": {
    "r": 162,
    "g": 29,
    "b": 31
  },
  "hsl": {
    "h": 359.098,
    "s": 69.634,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.16818,
    "h": 26.3
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#A21D1F
secondary
#56C5C3
accent
#ECEA3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A21D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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