#A01F21#A01F21

#A01F21 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.165 H 26.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A01F21
RGBrgb(160, 31, 33)
HSLhsl(359, 68%, 37%)
HSVhsv(359, 81%, 63%)
CMYKcmyk(0%, 80.6%, 79.4%, 37.3%)
CIE-LABlab(35.13, 51.37, 32.97)
CIE-LCHlch(35.13, 61.04, 32.70°)
OKLaboklab(46.07% 0.148 0.0721)
OKLCHoklch(46.07% 0.165 26)
XYZxyz(15.2636, 8.5658, 2.2882)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F21 #1FA09E
analogous
#A01F61 #A01F21 #A05E1F
triadic
#A01F21 #21A01F #1F21A0
tetradic
#A01F21 #61A01F #1FA09E #5E1FA0
square
#A01F21 #61A01F #1FA09E #5E1FA0
split-complementary
#A01F21 #1FA05E #1F61A0
monochromatic
#390B0C #6D1516 #A01F21 #D3292C #DF5A5C

Accessibility & contrast

On white

7.74
#A01F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#A01F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F21
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F21#FFFFFF#000000##FFFFFF
##A01F211.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411F
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#B10022
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a01f21;
/* rgb */ color: rgb(160, 31, 33);
/* oklch */ color: oklch(46.1% 0.165 26.0);
Tailwind
colors: {
  custom: {
    50: '#c5685d',
    500: '#a01f21',
    950: '#000000',
  },
}
SCSS
$custom: #a01f21;
$custom-light: #c5685d;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f21",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 33
  },
  "hsl": {
    "h": 359.07,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46068,
    "c": 0.16461,
    "h": 26
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#A01F21
secondary
#58C3C1
accent
#EAE83D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A01F21

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

Preview Lab → · Contrast checker → · Palette generator →

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