#A12017#A12017

#A12017 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.166 H 29.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A12017
RGBrgb(161, 32, 23)
HSLhsl(4, 75%, 36%)
HSVhsv(4, 86%, 63%)
CMYKcmyk(0%, 80.1%, 85.7%, 36.9%)
CIE-LABlab(35.35, 51.08, 38.79)
CIE-LCHlch(35.35, 64.13, 37.21°)
OKLaboklab(46.24% 0.1449 0.0811)
OKLCHoklch(46.24% 0.166 29.2)
XYZxyz(15.3710, 8.6745, 1.6755)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12017 #1798A1
analogous
#A11753 #A12017 #A16517
triadic
#A12017 #17A120 #2017A1
tetradic
#A12017 #53A117 #1798A1 #6517A1
square
#A12017 #53A117 #1798A1 #6517A1
split-complementary
#A12017 #17A165 #1753A1
monochromatic
#360B08 #6B150F #A12017 #D72B1F #E6574D

Accessibility & contrast

On white

7.68
#A12017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12017
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12017#FFFFFF#000000##FFFFFF
##A120171.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4114
Deuteranopia (green-blind)
#695D0F
Tritanopia (blue-blind)
#B20020
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a12017;
/* rgb */ color: rgb(161, 32, 23);
/* oklch */ color: oklch(46.2% 0.166 29.2);
Tailwind
colors: {
  custom: {
    50: '#c66856',
    500: '#a12017',
    950: '#000000',
  },
}
SCSS
$custom: #a12017;
$custom-light: #c66856;
$custom-dark: #000000;
JSON
{
  "hex": "#a12017",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 3.913,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46235,
    "c": 0.16607,
    "h": 29.2
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#A12017
secondary
#4CBFC7
accent
#E5F236
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12017

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

Preview Lab → · Contrast checker → · Palette generator →

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