#A12D17#A12D17

#A12D17 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.4% C 0.156 H 32.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A12D17
RGBrgb(161, 45, 23)
HSLhsl(10, 75%, 36%)
HSVhsv(10, 86%, 63%)
CMYKcmyk(0%, 72%, 85.7%, 36.9%)
CIE-LABlab(36.96, 46.59, 40.22)
CIE-LCHlch(36.96, 61.55, 40.80°)
OKLaboklab(47.44% 0.131 0.0844)
OKLCHoklch(47.44% 0.156 32.8)
XYZxyz(15.7929, 9.5182, 1.8161)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D17 #178BA1
analogous
#A11746 #A12D17 #A17217
triadic
#A12D17 #17A12D #2D17A1
tetradic
#A12D17 #46A117 #178BA1 #7217A1
square
#A12D17 #46A117 #178BA1 #7217A1
split-complementary
#A12D17 #17A172 #1746A1
monochromatic
#360F08 #6B1E0F #A12D17 #D73C1F #E6654D

Accessibility & contrast

On white

7.23
#A12D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A12D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12D17
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D17#FFFFFF#000000##FFFFFF
##A12D171.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#6D6010
Tritanopia (blue-blind)
#B20029
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12d17;
/* rgb */ color: rgb(161, 45, 23);
/* oklch */ color: oklch(47.4% 0.156 32.8);
Tailwind
colors: {
  custom: {
    50: '#c66e57',
    500: '#a12d17',
    950: '#000000',
  },
}
SCSS
$custom: #a12d17;
$custom-light: #c66e57;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d17",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 23
  },
  "hsl": {
    "h": 9.565,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47439,
    "c": 0.15578,
    "h": 32.8
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#A12D17
secondary
#4CB4C7
accent
#D4F236
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150803
muted
#837B78

Preview Lab

Preview with #A12D17

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

Preview Lab → · Contrast checker → · Palette generator →

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