#A12A2A#A12A2A

#A12A2A is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.3% C 0.156 H 25.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A12A2A
RGBrgb(161, 42, 42)
HSLhsl(0, 59%, 40%)
HSVhsv(0, 74%, 63%)
CMYKcmyk(0%, 73.9%, 73.9%, 36.9%)
CIE-LABlab(36.75, 48.40, 29.45)
CIE-LCHlch(36.75, 56.66, 31.32°)
OKLaboklab(47.34% 0.1405 0.0667)
OKLCHoklch(47.34% 0.156 25.4)
XYZxyz(15.9456, 9.4026, 3.1653)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A2A #2AA1A1
analogous
#A12A66 #A12A2A #A1662A
triadic
#A12A2A #2AA12A #2A2AA1
tetradic
#A12A2A #66A12A #2AA1A1 #662AA1
square
#A12A2A #66A12A #2AA1A1 #662AA1
split-complementary
#A12A2A #2AA166 #2A66A1
monochromatic
#401111 #701D1D #A12A2A #CC3C3C #D96D6D

Accessibility & contrast

On white

7.29
#A12A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A12A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12A2A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A2A#FFFFFF#000000##FFFFFF
##A12A2A1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4629
Deuteranopia (green-blind)
#6A6026
Tritanopia (blue-blind)
#B1002C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12a2a;
/* rgb */ color: rgb(161, 42, 42);
/* oklch */ color: oklch(47.3% 0.156 25.4);
Tailwind
colors: {
  custom: {
    50: '#c56d64',
    500: '#a12a2a',
    950: '#000000',
  },
}
SCSS
$custom: #a12a2a;
$custom-light: #c56d64;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a2a",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4734,
    "c": 0.15552,
    "h": 25.4
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#A12A2A
secondary
#67C0C0
accent
#E2E246
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A12A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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