#A12229#A12229

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

Color values

HEX#A12229
RGBrgb(161, 34, 41)
HSLhsl(357, 65%, 38%)
HSVhsv(357, 79%, 63%)
CMYKcmyk(0%, 78.9%, 74.5%, 36.9%)
CIE-LABlab(35.76, 51.08, 28.92)
CIE-LCHlch(35.76, 58.70, 29.52°)
OKLaboklab(46.6% 0.1487 0.0654)
OKLCHoklch(46.6% 0.162 23.7)
XYZxyz(15.6720, 8.8837, 2.9869)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12229 #22A19A
analogous
#A12268 #A12229 #A15A22
triadic
#A12229 #29A122 #2229A1
tetradic
#A12229 #68A122 #22A19A #5A22A1
square
#A12229 #68A122 #22A19A #5A22A1
split-complementary
#A12229 #22A15A #2268A1
monochromatic
#3C0D0F #6E171C #A12229 #D32D37 #DD6067

Accessibility & contrast

On white

7.56
#A12229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#A12229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12229
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12229#FFFFFF#000000##FFFFFF
##A122291.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494328
Deuteranopia (green-blind)
#685E24
Tritanopia (blue-blind)
#B10026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a12229;
/* rgb */ color: rgb(161, 34, 41);
/* oklch */ color: oklch(46.6% 0.162 23.7);
Tailwind
colors: {
  custom: {
    50: '#c56963',
    500: '#a12229',
    950: '#000000',
  },
}
SCSS
$custom: #a12229;
$custom-light: #c56963;
$custom-dark: #000000;
JSON
{
  "hex": "#a12229",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 356.693,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.466,
    "c": 0.16245,
    "h": 23.7
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#A12229
secondary
#5DC2BD
accent
#E8DF40
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A12229

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

Preview Lab → · Contrast checker → · Palette generator →

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