#A12F17#A12F17

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

Color values

HEX#A12F17
RGBrgb(161, 47, 23)
HSLhsl(10, 75%, 36%)
HSVhsv(10, 86%, 63%)
CMYKcmyk(0%, 70.8%, 85.7%, 36.9%)
CIE-LABlab(37.25, 45.80, 40.47)
CIE-LCHlch(37.25, 61.12, 41.46°)
OKLaboklab(47.65% 0.1285 0.0849)
OKLCHoklch(47.65% 0.154 33.5)
XYZxyz(15.8710, 9.6744, 1.8421)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F17 #1789A1
analogous
#A11744 #A12F17 #A17417
triadic
#A12F17 #17A12F #2F17A1
tetradic
#A12F17 #44A117 #1789A1 #7417A1
square
#A12F17 #44A117 #1789A1 #7417A1
split-complementary
#A12F17 #17A174 #1744A1
monochromatic
#361008 #6B1F0F #A12F17 #D73F1F #E6674D

Accessibility & contrast

On white

7.16
#A12F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A12F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12F17
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F17#FFFFFF#000000##FFFFFF
##A12F171.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514812
Deuteranopia (green-blind)
#6D6110
Tritanopia (blue-blind)
#B2002B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12f17;
/* rgb */ color: rgb(161, 47, 23);
/* oklch */ color: oklch(47.7% 0.154 33.5);
Tailwind
colors: {
  custom: {
    50: '#c66f57',
    500: '#a12f17',
    950: '#000000',
  },
}
SCSS
$custom: #a12f17;
$custom-light: #c66f57;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f17",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 10.435,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47655,
    "c": 0.15405,
    "h": 33.5
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#A12F17
secondary
#4CB2C7
accent
#D1F236
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150803
muted
#837B78

Preview Lab

Preview with #A12F17

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

Preview Lab → · Contrast checker → · Palette generator →

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