#A12717#A12717

#A12717 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.161 H 31.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A12717
RGBrgb(161, 39, 23)
HSLhsl(7, 75%, 36%)
HSVhsv(7, 86%, 63%)
CMYKcmyk(0%, 75.8%, 85.7%, 36.9%)
CIE-LABlab(36.16, 48.81, 39.51)
CIE-LCHlch(36.16, 62.79, 38.99°)
OKLaboklab(46.84% 0.1379 0.0827)
OKLCHoklch(46.84% 0.161 31)
XYZxyz(15.5800, 9.0924, 1.7451)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12717 #1791A1
analogous
#A1174C #A12717 #A16C17
triadic
#A12717 #17A127 #2717A1
tetradic
#A12717 #4CA117 #1791A1 #6C17A1
square
#A12717 #4CA117 #1791A1 #6C17A1
split-complementary
#A12717 #17A16C #174CA1
monochromatic
#360D08 #6B1A0F #A12717 #D7341F #E65F4D

Accessibility & contrast

On white

7.45
#A12717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#A12717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12717
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12717#FFFFFF#000000##FFFFFF
##A127171.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4413
Deuteranopia (green-blind)
#6B5F0F
Tritanopia (blue-blind)
#B20025
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12717;
/* rgb */ color: rgb(161, 39, 23);
/* oklch */ color: oklch(46.8% 0.161 31.0);
Tailwind
colors: {
  custom: {
    50: '#c66b56',
    500: '#a12717',
    950: '#000000',
  },
}
SCSS
$custom: #a12717;
$custom-light: #c66b56;
$custom-dark: #000000;
JSON
{
  "hex": "#a12717",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 6.957,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46839,
    "c": 0.16077,
    "h": 31
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#A12717
secondary
#4CB9C7
accent
#DCF236
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12717

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

Preview Lab → · Contrast checker → · Palette generator →

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