#A12228#A12228

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

Color values

HEX#A12228
RGBrgb(161, 34, 40)
HSLhsl(357, 65%, 38%)
HSVhsv(357, 79%, 63%)
CMYKcmyk(0%, 78.9%, 75.2%, 36.9%)
CIE-LABlab(35.75, 51.03, 29.52)
CIE-LCHlch(35.75, 58.95, 30.04°)
OKLaboklab(46.59% 0.1484 0.0664)
OKLCHoklch(46.59% 0.163 24.1)
XYZxyz(15.6548, 8.8768, 2.8962)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12228 #22A19B
analogous
#A12267 #A12228 #A15B22
triadic
#A12228 #28A122 #2228A1
tetradic
#A12228 #67A122 #22A19B #5B22A1
square
#A12228 #67A122 #22A19B #5B22A1
split-complementary
#A12228 #22A15B #2267A1
monochromatic
#3C0D0F #6E171B #A12228 #D32D35 #DD6066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12228#FFFFFF#000000##FFFFFF
##A122281.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)
#494327
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#B20026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a12228;
/* rgb */ color: rgb(161, 34, 40);
/* oklch */ color: oklch(46.6% 0.163 24.1);
Tailwind
colors: {
  custom: {
    50: '#c56962',
    500: '#a12228',
    950: '#000000',
  },
}
SCSS
$custom: #a12228;
$custom-light: #c56962;
$custom-dark: #000000;
JSON
{
  "hex": "#a12228",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 357.165,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.16255,
    "h": 24.1
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12228

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

Preview Lab → · Contrast checker → · Palette generator →

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