#A12C18#A12C18

#A12C18 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.3% C 0.156 H 32.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A12C18
RGBrgb(161, 44, 24)
HSLhsl(9, 74%, 36%)
HSVhsv(9, 85%, 63%)
CMYKcmyk(0%, 72.7%, 85.1%, 36.9%)
CIE-LABlab(36.83, 47.00, 39.60)
CIE-LCHlch(36.83, 61.46, 40.12°)
OKLaboklab(47.34% 0.1324 0.0834)
OKLCHoklch(47.34% 0.156 32.2)
XYZxyz(15.7654, 9.4468, 1.8573)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C18 #188DA1
analogous
#A11849 #A12C18 #A17118
triadic
#A12C18 #18A12C #2C18A1
tetradic
#A12C18 #49A118 #188DA1 #7118A1
square
#A12C18 #49A118 #188DA1 #7118A1
split-complementary
#A12C18 #18A171 #1849A1
monochromatic
#360F08 #6C1D10 #A12C18 #D63B20 #E5654F

Accessibility & contrast

On white

7.27
#A12C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A12C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12C18
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C18#FFFFFF#000000##FFFFFF
##A12C181.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12c18;
/* rgb */ color: rgb(161, 44, 24);
/* oklch */ color: oklch(47.3% 0.156 32.2);
Tailwind
colors: {
  custom: {
    50: '#c66d57',
    500: '#a12c18',
    950: '#000000',
  },
}
SCSS
$custom: #a12c18;
$custom-light: #c66d57;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c18",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 24
  },
  "hsl": {
    "h": 8.759,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.15648,
    "h": 32.2
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#A12C18
secondary
#4EB5C7
accent
#D6F137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150803
muted
#837B78

Preview Lab

Preview with #A12C18

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

Preview Lab → · Contrast checker → · Palette generator →

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