#A12D22#A12D22

#A12D22 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.5% C 0.154 H 29.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A12D22
RGBrgb(161, 45, 34)
HSLhsl(5, 65%, 38%)
HSVhsv(5, 79%, 63%)
CMYKcmyk(0%, 72%, 78.9%, 36.9%)
CIE-LABlab(37.06, 46.94, 34.48)
CIE-LCHlch(37.06, 58.24, 36.30°)
OKLaboklab(47.54% 0.1341 0.0756)
OKLCHoklch(47.54% 0.154 29.4)
XYZxyz(15.9269, 9.5718, 2.5220)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D22 #2296A1
analogous
#A12256 #A12D22 #A16C22
triadic
#A12D22 #22A12D #2D22A1
tetradic
#A12D22 #56A122 #2296A1 #6C22A1
square
#A12D22 #56A122 #2296A1 #6C22A1
split-complementary
#A12D22 #22A16C #2256A1
monochromatic
#3C110D #6E1F17 #A12D22 #D33C2D #DD6B60

Accessibility & contrast

On white

7.21
#A12D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A12D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12D22
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D22#FFFFFF#000000##FFFFFF
##A12D221.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4720
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#B2002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12d22;
/* rgb */ color: rgb(161, 45, 34);
/* oklch */ color: oklch(47.5% 0.154 29.4);
Tailwind
colors: {
  custom: {
    50: '#c56e5e',
    500: '#a12d22',
    950: '#000000',
  },
}
SCSS
$custom: #a12d22;
$custom-light: #c56e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d22",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 34
  },
  "hsl": {
    "h": 5.197,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.15399,
    "h": 29.4
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#A12D22
secondary
#5DB9C2
accent
#DAE840
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #A12D22

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

Preview Lab → · Contrast checker → · Palette generator →

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