#A12C27#A12C27

#A12C27 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.5% C 0.154 H 27.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A12C27
RGBrgb(161, 44, 39)
HSLhsl(2, 61%, 39%)
HSVhsv(2, 76%, 63%)
CMYKcmyk(0%, 72.7%, 75.8%, 36.9%)
CIE-LABlab(36.98, 47.52, 31.50)
CIE-LCHlch(36.98, 57.01, 33.54°)
OKLaboklab(47.5% 0.137 0.0705)
OKLCHoklch(47.5% 0.154 27.2)
XYZxyz(15.9667, 9.5273, 2.9173)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C27 #279CA1
analogous
#A1275F #A12C27 #A16927
triadic
#A12C27 #27A12C #2C27A1
tetradic
#A12C27 #5FA127 #279CA1 #6927A1
square
#A12C27 #5FA127 #279CA1 #6927A1
split-complementary
#A12C27 #27A169 #275FA1
monochromatic
#3E110F #701F1B #A12C27 #CE3D37 #DA6D68

Accessibility & contrast

On white

7.23
#A12C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A12C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12C27
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C27#FFFFFF#000000##FFFFFF
##A12C271.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4725
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#B1002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12c27;
/* rgb */ color: rgb(161, 44, 39);
/* oklch */ color: oklch(47.5% 0.154 27.2);
Tailwind
colors: {
  custom: {
    50: '#c56e61',
    500: '#a12c27',
    950: '#000000',
  },
}
SCSS
$custom: #a12c27;
$custom-light: #c56e61;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c27",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 39
  },
  "hsl": {
    "h": 2.459,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.15411,
    "h": 27.2
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#A12C27
secondary
#63BDC0
accent
#DEE444
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140805
muted
#837B79

Preview Lab

Preview with #A12C27

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

Preview Lab → · Contrast checker → · Palette generator →

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