#A12227#A12227

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

Color values

HEX#A12227
RGBrgb(161, 34, 39)
HSLhsl(358, 65%, 38%)
HSVhsv(358, 79%, 63%)
CMYKcmyk(0%, 78.9%, 75.8%, 36.9%)
CIE-LABlab(35.73, 50.99, 30.11)
CIE-LCHlch(35.73, 59.22, 30.56°)
OKLaboklab(46.57% 0.148 0.0675)
OKLCHoklch(46.57% 0.163 24.5)
XYZxyz(15.6380, 8.8701, 2.8078)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12227 #22A19C
analogous
#A12266 #A12227 #A15C22
triadic
#A12227 #27A122 #2227A1
tetradic
#A12227 #66A122 #22A19C #5C22A1
square
#A12227 #66A122 #22A19C #5C22A1
split-complementary
#A12227 #22A15C #2266A1
monochromatic
#3C0D0F #6E171B #A12227 #D32D34 #DD6065

Accessibility & contrast

On white

7.57
#A12227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12227
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12227#FFFFFF#000000##FFFFFF
##A122271.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12227;
/* rgb */ color: rgb(161, 34, 39);
/* oklch */ color: oklch(46.6% 0.163 24.5);
Tailwind
colors: {
  custom: {
    50: '#c56961',
    500: '#a12227',
    950: '#000000',
  },
}
SCSS
$custom: #a12227;
$custom-light: #c56961;
$custom-dark: #000000;
JSON
{
  "hex": "#a12227",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.638,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46572,
    "c": 0.16266,
    "h": 24.5
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#A12227
secondary
#5DC2BE
accent
#E8E140
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140705
muted
#837A79

Preview Lab

Preview with #A12227

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

Preview Lab → · Contrast checker → · Palette generator →

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