#A12217#A12217

#A12217 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.4% C 0.165 H 29.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A12217
RGBrgb(161, 34, 23)
HSLhsl(5, 75%, 36%)
HSVhsv(5, 86%, 63%)
CMYKcmyk(0%, 78.9%, 85.7%, 36.9%)
CIE-LABlab(35.57, 50.46, 38.98)
CIE-LCHlch(35.57, 63.77, 37.69°)
OKLaboklab(46.4% 0.143 0.0815)
OKLCHoklch(46.4% 0.165 29.7)
XYZxyz(15.4265, 8.7855, 1.6940)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12217 #1796A1
analogous
#A11751 #A12217 #A16717
triadic
#A12217 #17A122 #2217A1
tetradic
#A12217 #51A117 #1796A1 #6717A1
square
#A12217 #51A117 #1796A1 #6717A1
split-complementary
#A12217 #17A167 #1751A1
monochromatic
#360B08 #6B170F #A12217 #D72D1F #E6594D

Accessibility & contrast

On white

7.62
#A12217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#A12217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12217
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12217#FFFFFF#000000##FFFFFF
##A122171.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4214
Deuteranopia (green-blind)
#6A5E0F
Tritanopia (blue-blind)
#B20021
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a12217;
/* rgb */ color: rgb(161, 34, 23);
/* oklch */ color: oklch(46.4% 0.165 29.7);
Tailwind
colors: {
  custom: {
    50: '#c66956',
    500: '#a12217',
    950: '#000000',
  },
}
SCSS
$custom: #a12217;
$custom-light: #c66956;
$custom-dark: #000000;
JSON
{
  "hex": "#a12217",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 4.783,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.16462,
    "h": 29.7
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#A12217
secondary
#4CBEC7
accent
#E3F236
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12217

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

Preview Lab → · Contrast checker → · Palette generator →

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