#A12F31#A12F31

#A12F31 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.0% C 0.150 H 23.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A12F31
RGBrgb(161, 47, 49)
HSLhsl(359, 55%, 41%)
HSVhsv(359, 71%, 63%)
CMYKcmyk(0%, 70.8%, 69.6%, 36.9%)
CIE-LABlab(37.54, 46.84, 26.13)
CIE-LCHlch(37.54, 53.63, 29.16°)
OKLaboklab(47.97% 0.137 0.0608)
OKLCHoklch(47.97% 0.15 23.9)
XYZxyz(16.2706, 9.8342, 3.9466)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F31 #2FA19F
analogous
#A12F6A #A12F31 #A1662F
triadic
#A12F31 #31A12F #2F31A1
tetradic
#A12F31 #6AA12F #2FA19F #662FA1
square
#A12F31 #6AA12F #2FA19F #662FA1
split-complementary
#A12F31 #2FA166 #2F6AA1
monochromatic
#421314 #722123 #A12F31 #C94547 #D67476

Accessibility & contrast

On white

7.08
#A12F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A12F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12F31
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F31#FFFFFF#000000##FFFFFF
##A12F311.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4930
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#B10A31
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12f31;
/* rgb */ color: rgb(161, 47, 49);
/* oklch */ color: oklch(48.0% 0.150 23.9);
Tailwind
colors: {
  custom: {
    50: '#c46f69',
    500: '#a12f31',
    950: '#000000',
  },
}
SCSS
$custom: #a12f31;
$custom-light: #c46f69;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f31",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 358.947,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.14991,
    "h": 23.9
  },
  "luminance": 0.09832
}

Semantic roles & 50–950 ramp

primary
#A12F31
secondary
#6EBEBD
accent
#DEDC4A
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#140806
muted
#837B7A

Preview Lab

Preview with #A12F31

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

Preview Lab → · Contrast checker → · Palette generator →

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