#A12517#A12517

#A12517 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.162 H 30.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#A12517
RGBrgb(161, 37, 23)
HSLhsl(6, 75%, 36%)
HSVhsv(6, 86%, 63%)
CMYKcmyk(0%, 77%, 85.7%, 36.9%)
CIE-LABlab(35.92, 49.49, 39.29)
CIE-LCHlch(35.92, 63.19, 38.45°)
OKLaboklab(46.66% 0.14 0.0822)
OKLCHoklch(46.66% 0.162 30.4)
XYZxyz(15.5161, 8.9646, 1.7238)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12517 #1793A1
analogous
#A1174E #A12517 #A16A17
triadic
#A12517 #17A125 #2517A1
tetradic
#A12517 #4EA117 #1793A1 #6A17A1
square
#A12517 #4EA117 #1793A1 #6A17A1
split-complementary
#A12517 #17A16A #174EA1
monochromatic
#360C08 #6B190F #A12517 #D7311F #E65C4D

Accessibility & contrast

On white

7.52
#A12517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#A12517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12517
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12517#FFFFFF#000000##FFFFFF
##A125171.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#6A5E0F
Tritanopia (blue-blind)
#B20023
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a12517;
/* rgb */ color: rgb(161, 37, 23);
/* oklch */ color: oklch(46.7% 0.162 30.4);
Tailwind
colors: {
  custom: {
    50: '#c66a56',
    500: '#a12517',
    950: '#000000',
  },
}
SCSS
$custom: #a12517;
$custom-light: #c66a56;
$custom-dark: #000000;
JSON
{
  "hex": "#a12517",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 6.087,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46656,
    "c": 0.16235,
    "h": 30.4
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#A12517
secondary
#4CBBC7
accent
#DFF236
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12517

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

Preview Lab → · Contrast checker → · Palette generator →

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