#A12817#A12817

#A12817 is a mid, vivid red. Relative luminance 0.092; OKLCH L 46.9% C 0.160 H 31.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A12817
RGBrgb(161, 40, 23)
HSLhsl(7, 75%, 36%)
HSVhsv(7, 86%, 63%)
CMYKcmyk(0%, 75.2%, 85.7%, 36.9%)
CIE-LABlab(36.29, 48.45, 39.62)
CIE-LCHlch(36.29, 62.59, 39.27°)
OKLaboklab(46.93% 0.1368 0.083)
OKLCHoklch(46.93% 0.16 31.3)
XYZxyz(15.6133, 9.1590, 1.7562)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12817 #1790A1
analogous
#A1174B #A12817 #A16D17
triadic
#A12817 #17A128 #2817A1
tetradic
#A12817 #4BA117 #1790A1 #6D17A1
square
#A12817 #4BA117 #1790A1 #6D17A1
split-complementary
#A12817 #17A16D #174BA1
monochromatic
#360D08 #6B1B0F #A12817 #D7351F #E6604D

Accessibility & contrast

On white

7.42
#A12817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A12817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12817
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12817#FFFFFF#000000##FFFFFF
##A128171.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12817;
/* rgb */ color: rgb(161, 40, 23);
/* oklch */ color: oklch(46.9% 0.160 31.3);
Tailwind
colors: {
  custom: {
    50: '#c66b56',
    500: '#a12817',
    950: '#000000',
  },
}
SCSS
$custom: #a12817;
$custom-light: #c66b56;
$custom-dark: #000000;
JSON
{
  "hex": "#a12817",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 7.391,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46934,
    "c": 0.15996,
    "h": 31.3
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#A12817
secondary
#4CB8C7
accent
#DBF236
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A12817

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

Preview Lab → · Contrast checker → · Palette generator →

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