#A12D18#A12D18

#A12D18 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.4% C 0.156 H 32.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A12D18
RGBrgb(161, 45, 24)
HSLhsl(9, 74%, 36%)
HSVhsv(9, 85%, 63%)
CMYKcmyk(0%, 72%, 85.1%, 36.9%)
CIE-LABlab(36.97, 46.62, 39.73)
CIE-LCHlch(36.97, 61.25, 40.44°)
OKLaboklab(47.45% 0.1312 0.0837)
OKLCHoklch(47.45% 0.156 32.5)
XYZxyz(15.8031, 9.5222, 1.8698)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D18 #188CA1
analogous
#A11848 #A12D18 #A17218
triadic
#A12D18 #18A12D #2D18A1
tetradic
#A12D18 #48A118 #188CA1 #7218A1
square
#A12D18 #48A118 #188CA1 #7218A1
split-complementary
#A12D18 #18A172 #1848A1
monochromatic
#360F08 #6C1E10 #A12D18 #D63C20 #E5664F

Accessibility & contrast

On white

7.23
#A12D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A12D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12D18
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D18#FFFFFF#000000##FFFFFF
##A12D181.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12d18;
/* rgb */ color: rgb(161, 45, 24);
/* oklch */ color: oklch(47.4% 0.156 32.5);
Tailwind
colors: {
  custom: {
    50: '#c66e57',
    500: '#a12d18',
    950: '#000000',
  },
}
SCSS
$custom: #a12d18;
$custom-light: #c66e57;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d18",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 9.197,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.15562,
    "h": 32.5
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#A12D18
secondary
#4EB4C7
accent
#D4F137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150803
muted
#837B78

Preview Lab

Preview with #A12D18

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

Preview Lab → · Contrast checker → · Palette generator →

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