#A12226#A12226

#A12226 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.6% C 0.163 H 24.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A12226
RGBrgb(161, 34, 38)
HSLhsl(358, 65%, 38%)
HSVhsv(358, 79%, 63%)
CMYKcmyk(0%, 78.9%, 76.4%, 36.9%)
CIE-LABlab(35.72, 50.95, 30.70)
CIE-LCHlch(35.72, 59.48, 31.07°)
OKLaboklab(46.56% 0.1477 0.0685)
OKLCHoklch(46.56% 0.163 24.9)
XYZxyz(15.6217, 8.8635, 2.7216)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12226 #22A19D
analogous
#A12265 #A12226 #A15D22
triadic
#A12226 #26A122 #2226A1
tetradic
#A12226 #65A122 #22A19D #5D22A1
square
#A12226 #65A122 #22A19D #5D22A1
split-complementary
#A12226 #22A15D #2265A1
monochromatic
#3C0D0E #6E171A #A12226 #D32D33 #DD6064

Accessibility & contrast

On white

7.58
#A12226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#A12226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12226
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12226#FFFFFF#000000##FFFFFF
##A122261.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494325
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#B20025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a12226;
/* rgb */ color: rgb(161, 34, 38);
/* oklch */ color: oklch(46.6% 0.163 24.9);
Tailwind
colors: {
  custom: {
    50: '#c56960',
    500: '#a12226',
    950: '#000000',
  },
}
SCSS
$custom: #a12226;
$custom-light: #c56960;
$custom-dark: #000000;
JSON
{
  "hex": "#a12226",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 358.11,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.16277,
    "h": 24.9
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#A12226
secondary
#5DC2BF
accent
#E8E340
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140705
muted
#837A79

Preview Lab

Preview with #A12226

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

Preview Lab → · Contrast checker → · Palette generator →

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