#A12E28#A12E28

#A12E28 is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.7% C 0.152 H 27.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A12E28
RGBrgb(161, 46, 40)
HSLhsl(3, 60%, 39%)
HSVhsv(3, 75%, 63%)
CMYKcmyk(0%, 71.4%, 75.2%, 36.9%)
CIE-LABlab(37.27, 46.79, 31.24)
CIE-LCHlch(37.27, 56.26, 33.73°)
OKLaboklab(47.73% 0.1349 0.0702)
OKLCHoklch(47.73% 0.152 27.5)
XYZxyz(16.0598, 9.6867, 3.0312)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E28 #289BA1
analogous
#A1285F #A12E28 #A16B28
triadic
#A12E28 #28A12E #2E28A1
tetradic
#A12E28 #5FA128 #289BA1 #6B28A1
square
#A12E28 #5FA128 #289BA1 #6B28A1
split-complementary
#A12E28 #28A16B #285FA1
monochromatic
#3F1210 #70201C #A12E28 #CE4039 #DA6F6A

Accessibility & contrast

On white

7.15
#A12E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A12E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12E28
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E28#FFFFFF#000000##FFFFFF
##A12E281.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4826
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#B1022E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12e28;
/* rgb */ color: rgb(161, 46, 40);
/* oklch */ color: oklch(47.7% 0.152 27.5);
Tailwind
colors: {
  custom: {
    50: '#c56f62',
    500: '#a12e28',
    950: '#000000',
  },
}
SCSS
$custom: #a12e28;
$custom-light: #c56f62;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e28",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 2.975,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.15211,
    "h": 27.5
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#A12E28
secondary
#65BCC0
accent
#DBE344
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140805
muted
#837B79

Preview Lab

Preview with #A12E28

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

Preview Lab → · Contrast checker → · Palette generator →

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