#A12018#A12018

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

Color values

HEX#A12018
RGBrgb(161, 32, 24)
HSLhsl(4, 74%, 36%)
HSVhsv(4, 85%, 63%)
CMYKcmyk(0%, 80.1%, 85.1%, 36.9%)
CIE-LABlab(35.36, 51.10, 38.28)
CIE-LCHlch(35.36, 63.85, 36.83°)
OKLaboklab(46.24% 0.1452 0.0804)
OKLCHoklch(46.24% 0.166 29)
XYZxyz(15.3812, 8.6785, 1.7292)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12018 #1899A1
analogous
#A11855 #A12018 #A16518
triadic
#A12018 #18A120 #2018A1
tetradic
#A12018 #55A118 #1899A1 #6518A1
square
#A12018 #55A118 #1899A1 #6518A1
split-complementary
#A12018 #18A165 #1855A1
monochromatic
#360B08 #6C1510 #A12018 #D62B20 #E5574F

Accessibility & contrast

On white

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

On black

2.74
#A12018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A12018#FFFFFF#000000##FFFFFF
##A120181.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12018;
/* rgb */ color: rgb(161, 32, 24);
/* oklch */ color: oklch(46.2% 0.166 29.0);
Tailwind
colors: {
  custom: {
    50: '#c66857',
    500: '#a12018',
    950: '#000000',
  },
}
SCSS
$custom: #a12018;
$custom-light: #c66857;
$custom-dark: #000000;
JSON
{
  "hex": "#a12018",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 3.504,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46243,
    "c": 0.16595,
    "h": 29
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#A12018
secondary
#4EC0C7
accent
#E6F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12018

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

Preview Lab → · Contrast checker → · Palette generator →

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