#A12A27#A12A27

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

Color values

HEX#A12A27
RGBrgb(161, 42, 39)
HSLhsl(1, 61%, 39%)
HSVhsv(1, 76%, 63%)
CMYKcmyk(0%, 73.9%, 75.8%, 36.9%)
CIE-LABlab(36.71, 48.27, 31.20)
CIE-LCHlch(36.71, 57.47, 32.88°)
OKLaboklab(47.3% 0.1394 0.0699)
OKLCHoklch(47.3% 0.156 26.6)
XYZxyz(15.8939, 9.3819, 2.8931)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A27 #279EA1
analogous
#A12761 #A12A27 #A16727
triadic
#A12A27 #27A12A #2A27A1
tetradic
#A12A27 #61A127 #279EA1 #6727A1
square
#A12A27 #61A127 #279EA1 #6727A1
split-complementary
#A12A27 #27A167 #2761A1
monochromatic
#3E100F #701D1B #A12A27 #CE3A37 #DA6B68

Accessibility & contrast

On white

7.30
#A12A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12A27
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A27#FFFFFF#000000##FFFFFF
##A12A271.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4625
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#B1002B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12a27;
/* rgb */ color: rgb(161, 42, 39);
/* oklch */ color: oklch(47.3% 0.156 26.6);
Tailwind
colors: {
  custom: {
    50: '#c56d61',
    500: '#a12a27',
    950: '#000000',
  },
}
SCSS
$custom: #a12a27;
$custom-light: #c56d61;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a27",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 1.475,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47299,
    "c": 0.15592,
    "h": 26.6
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#A12A27
secondary
#63BEC0
accent
#E0E444
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A12A27

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

Preview Lab → · Contrast checker → · Palette generator →

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