#A01817#A01817

#A01817 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.170 H 27.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#A01817
RGBrgb(160, 24, 23)
HSLhsl(0, 75%, 36%)
HSVhsv(0, 86%, 63%)
CMYKcmyk(0%, 85%, 85.6%, 37.3%)
CIE-LABlab(34.38, 52.94, 37.84)
CIE-LCHlch(34.38, 65.07, 35.56°)
OKLaboklab(45.48% 0.1509 0.0791)
OKLCHoklch(45.48% 0.17 27.7)
XYZxyz(14.9804, 8.1912, 1.6028)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01817 #179FA0
analogous
#A0175A #A01817 #A05C17
triadic
#A01817 #17A018 #1817A0
tetradic
#A01817 #5AA017 #179FA0 #5C17A0
square
#A01817 #5AA017 #179FA0 #5C17A0
split-complementary
#A01817 #17A05C #175AA0
monochromatic
#350808 #6A100F #A01817 #D6201F #E54D4C

Accessibility & contrast

On white

7.96
#A01817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#A01817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01817
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01817#FFFFFF#000000##FFFFFF
##A018171.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#675B0E
Tritanopia (blue-blind)
#B1001A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #a01817;
/* rgb */ color: rgb(160, 24, 23);
/* oklch */ color: oklch(45.5% 0.170 27.7);
Tailwind
colors: {
  custom: {
    50: '#c66556',
    500: '#a01817',
    950: '#000000',
  },
}
SCSS
$custom: #a01817;
$custom-light: #c66556;
$custom-dark: #000000;
JSON
{
  "hex": "#a01817",
  "rgb": {
    "r": 160,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.438,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.17033,
    "h": 27.7
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#A01817
secondary
#4CC6C7
accent
#F0F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #A01817

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

Preview Lab → · Contrast checker → · Palette generator →

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