#A12B18#A12B18

#A12B18 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.2% C 0.157 H 31.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A12B18
RGBrgb(161, 43, 24)
HSLhsl(8, 74%, 36%)
HSVhsv(8, 85%, 63%)
CMYKcmyk(0%, 73.3%, 85.1%, 36.9%)
CIE-LABlab(36.69, 47.38, 39.48)
CIE-LCHlch(36.69, 61.67, 39.80°)
OKLaboklab(47.24% 0.1336 0.0831)
OKLCHoklch(47.24% 0.157 31.9)
XYZxyz(15.7286, 9.3732, 1.8450)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B18 #188EA1
analogous
#A1184A #A12B18 #A17018
triadic
#A12B18 #18A12B #2B18A1
tetradic
#A12B18 #4AA118 #188EA1 #7018A1
square
#A12B18 #4AA118 #188EA1 #7018A1
split-complementary
#A12B18 #18A170 #184AA1
monochromatic
#360F08 #6C1D10 #A12B18 #D63920 #E5634F

Accessibility & contrast

On white

7.31
#A12B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A12B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12B18
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B18#FFFFFF#000000##FFFFFF
##A12B181.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4614
Deuteranopia (green-blind)
#6C6011
Tritanopia (blue-blind)
#B20028
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12b18;
/* rgb */ color: rgb(161, 43, 24);
/* oklch */ color: oklch(47.2% 0.157 31.9);
Tailwind
colors: {
  custom: {
    50: '#c66d57',
    500: '#a12b18',
    950: '#000000',
  },
}
SCSS
$custom: #a12b18;
$custom-light: #c66d57;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b18",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 24
  },
  "hsl": {
    "h": 8.321,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.15734,
    "h": 31.9
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#A12B18
secondary
#4EB6C7
accent
#D7F137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12B18

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

Preview Lab → · Contrast checker → · Palette generator →

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