#A12F27#A12F27

#A12F27 is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.8% C 0.151 H 28.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A12F27
RGBrgb(161, 47, 39)
HSLhsl(4, 61%, 39%)
HSVhsv(4, 76%, 63%)
CMYKcmyk(0%, 70.8%, 75.8%, 36.9%)
CIE-LABlab(37.41, 46.35, 31.97)
CIE-LCHlch(37.41, 56.31, 34.60°)
OKLaboklab(47.82% 0.1334 0.0715)
OKLCHoklch(47.82% 0.151 28.2)
XYZxyz(16.0825, 9.7590, 2.9559)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F27 #2799A1
analogous
#A1275C #A12F27 #A16C27
triadic
#A12F27 #27A12F #2F27A1
tetradic
#A12F27 #5CA127 #2799A1 #6C27A1
square
#A12F27 #5CA127 #2799A1 #6C27A1
split-complementary
#A12F27 #27A16C #275CA1
monochromatic
#3E120F #70211B #A12F27 #CE4137 #DA6F68

Accessibility & contrast

On white

7.12
#A12F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A12F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12F27
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F27#FFFFFF#000000##FFFFFF
##A12F271.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504825
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#B1052E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12f27;
/* rgb */ color: rgb(161, 47, 39);
/* oklch */ color: oklch(47.8% 0.151 28.2);
Tailwind
colors: {
  custom: {
    50: '#c56f62',
    500: '#a12f27',
    950: '#000000',
  },
}
SCSS
$custom: #a12f27;
$custom-light: #c56f62;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f27",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 3.934,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.15133,
    "h": 28.2
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#A12F27
secondary
#63BAC0
accent
#DAE444
background
#FDF7F5
surface
#FAEDEA
border
#D3C8C6
text
#140805
muted
#837B79

Preview Lab

Preview with #A12F27

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

Preview Lab → · Contrast checker → · Palette generator →

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