#A01F17#A01F17

#A01F17 is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.166 H 29.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A01F17
RGBrgb(160, 31, 23)
HSLhsl(4, 75%, 36%)
HSVhsv(4, 86%, 63%)
CMYKcmyk(0%, 80.6%, 85.6%, 37.3%)
CIE-LABlab(35.04, 51.07, 38.43)
CIE-LCHlch(35.04, 63.91, 36.97°)
OKLaboklab(45.97% 0.145 0.0804)
OKLCHoklch(45.97% 0.166 29)
XYZxyz(15.1437, 8.5179, 1.6572)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F17 #1798A0
analogous
#A01753 #A01F17 #A06317
triadic
#A01F17 #17A01F #1F17A0
tetradic
#A01F17 #53A017 #1798A0 #6317A0
square
#A01F17 #53A017 #1798A0 #6317A0
split-complementary
#A01F17 #17A063 #1753A0
monochromatic
#350A08 #6A150F #A01F17 #D6291F #E5554C

Accessibility & contrast

On white

7.77
#A01F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#A01F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F17
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F17#FFFFFF#000000##FFFFFF
##A01F171.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494014
Deuteranopia (green-blind)
#685C0F
Tritanopia (blue-blind)
#B1001F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #a01f17;
/* rgb */ color: rgb(160, 31, 23);
/* oklch */ color: oklch(46.0% 0.166 29.0);
Tailwind
colors: {
  custom: {
    50: '#c66856',
    500: '#a01f17',
    950: '#000000',
  },
}
SCSS
$custom: #a01f17;
$custom-light: #c66856;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f17",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 3.504,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.16581,
    "h": 29
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#A01F17
secondary
#4CC0C7
accent
#E7F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A01F17

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

Preview Lab → · Contrast checker → · Palette generator →

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