#A12D1F#A12D1F

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

Color values

HEX#A12D1F
RGBrgb(161, 45, 31)
HSLhsl(6, 68%, 38%)
HSVhsv(6, 81%, 63%)
CMYKcmyk(0%, 72%, 80.7%, 36.9%)
CIE-LABlab(37.03, 46.83, 36.12)
CIE-LCHlch(37.03, 59.14, 37.64°)
OKLaboklab(47.51% 0.1332 0.0782)
OKLCHoklch(47.51% 0.154 30.4)
XYZxyz(15.8855, 9.5552, 2.3039)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D1F #1F93A1
analogous
#A11F52 #A12D1F #A16E1F
triadic
#A12D1F #1FA12D #2D1FA1
tetradic
#A12D1F #52A11F #1F93A1 #6E1FA1
square
#A12D1F #52A11F #1F93A1 #6E1FA1
split-complementary
#A12D1F #1FA16E #1F52A1
monochromatic
#3A100B #6E1F15 #A12D1F #D43B29 #DF695B

Accessibility & contrast

On white

7.22
#A12D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12D1F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D1F#FFFFFF#000000##FFFFFF
##A12D1F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#B2002B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12d1f;
/* rgb */ color: rgb(161, 45, 31);
/* oklch */ color: oklch(47.5% 0.154 30.4);
Tailwind
colors: {
  custom: {
    50: '#c56e5c',
    500: '#a12d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a12d1f;
$custom-light: #c56e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d1f",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 31
  },
  "hsl": {
    "h": 6.462,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.15448,
    "h": 30.4
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#A12D1F
secondary
#58B8C4
accent
#D8EB3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A12D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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