#A12D27#A12D27

#A12D27 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.6% C 0.153 H 27.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A12D27
RGBrgb(161, 45, 39)
HSLhsl(3, 61%, 39%)
HSVhsv(3, 76%, 63%)
CMYKcmyk(0%, 72%, 75.8%, 36.9%)
CIE-LABlab(37.12, 47.14, 31.65)
CIE-LCHlch(37.12, 56.78, 33.88°)
OKLaboklab(47.61% 0.1358 0.0709)
OKLCHoklch(47.61% 0.153 27.5)
XYZxyz(16.0044, 9.6027, 2.9299)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D27 #279BA1
analogous
#A1275E #A12D27 #A16A27
triadic
#A12D27 #27A12D #2D27A1
tetradic
#A12D27 #5EA127 #279BA1 #6A27A1
square
#A12D27 #5EA127 #279BA1 #6A27A1
split-complementary
#A12D27 #27A16A #275EA1
monochromatic
#3E110F #701F1B #A12D27 #CE3E37 #DA6E68

Accessibility & contrast

On white

7.19
#A12D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A12D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12D27
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D27#FFFFFF#000000##FFFFFF
##A12D271.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4725
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#B1002D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12d27;
/* rgb */ color: rgb(161, 45, 39);
/* oklch */ color: oklch(47.6% 0.153 27.5);
Tailwind
colors: {
  custom: {
    50: '#c56e62',
    500: '#a12d27',
    950: '#000000',
  },
}
SCSS
$custom: #a12d27;
$custom-light: #c56e62;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d27",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 39
  },
  "hsl": {
    "h": 2.951,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.15319,
    "h": 27.5
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#A12D27
secondary
#63BCC0
accent
#DCE444
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140805
muted
#837B79

Preview Lab

Preview with #A12D27

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

Preview Lab → · Contrast checker → · Palette generator →

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