#A12D1C#A12D1C

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

Color values

HEX#A12D1C
RGBrgb(161, 45, 28)
HSLhsl(8, 70%, 37%)
HSVhsv(8, 83%, 63%)
CMYKcmyk(0%, 72%, 82.6%, 36.9%)
CIE-LABlab(37.00, 46.73, 37.71)
CIE-LCHlch(37.00, 60.05, 38.90°)
OKLaboklab(47.48% 0.1323 0.0807)
OKLCHoklch(47.48% 0.155 31.4)
XYZxyz(15.8478, 9.5401, 2.1054)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D1C #1C90A1
analogous
#A11C4E #A12D1C #A1701C
triadic
#A12D1C #1CA12D #2D1CA1
tetradic
#A12D1C #4EA11C #1C90A1 #701CA1
square
#A12D1C #4EA11C #1C90A1 #701CA1
split-complementary
#A12D1C #1CA170 #1C4EA1
monochromatic
#39100A #6D1E13 #A12D1C #D53C25 #E26856

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12D1C#FFFFFF#000000##FFFFFF
##A12D1C1.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)
#504719
Deuteranopia (green-blind)
#6C6016
Tritanopia (blue-blind)
#B2002A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12d1c;
/* rgb */ color: rgb(161, 45, 28);
/* oklch */ color: oklch(47.5% 0.155 31.4);
Tailwind
colors: {
  custom: {
    50: '#c66e5a',
    500: '#a12d1c',
    950: '#000000',
  },
}
SCSS
$custom: #a12d1c;
$custom-light: #c66e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d1c",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 28
  },
  "hsl": {
    "h": 7.669,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47482,
    "c": 0.15497,
    "h": 31.4
  },
  "luminance": 0.09538
}

Semantic roles & 50–950 ramp

primary
#A12D1C
secondary
#54B6C5
accent
#D6ED3B
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A12D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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