#A01731#A01731

#A01731 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.8% C 0.169 H 18.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A01731
RGBrgb(160, 23, 49)
HSLhsl(349, 75%, 36%)
HSVhsv(349, 86%, 63%)
CMYKcmyk(0%, 85.6%, 69.4%, 37.3%)
CIE-LABlab(34.62, 54.15, 22.50)
CIE-LCHlch(34.62, 58.63, 22.56°)
OKLaboklab(45.76% 0.1605 0.0527)
OKLCHoklch(45.76% 0.169 18.2)
XYZxyz(15.3597, 8.3106, 3.7005)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01731 #17A086
analogous
#A01775 #A01731 #A04117
triadic
#A01731 #31A017 #1731A0
tetradic
#A01731 #75A017 #17A086 #4117A0
square
#A01731 #75A017 #17A086 #4117A0
split-complementary
#A01731 #17A041 #1775A0
monochromatic
#350810 #6A0F21 #A01731 #D61F41 #E54C69

Accessibility & contrast

On white

7.89
#A01731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#A01731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01731
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01731#FFFFFF#000000##FFFFFF
##A017311.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F31
Deuteranopia (green-blind)
#655B2D
Tritanopia (blue-blind)
#B00023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #a01731;
/* rgb */ color: rgb(160, 23, 49);
/* oklch */ color: oklch(45.8% 0.169 18.2);
Tailwind
colors: {
  custom: {
    50: '#c46668',
    500: '#a01731',
    950: '#000000',
  },
}
SCSS
$custom: #a01731;
$custom-light: #c46668;
$custom-dark: #000000;
JSON
{
  "hex": "#a01731",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 348.613,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.16896,
    "h": 18.2
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#A01731
secondary
#4CC7B0
accent
#F1CE36
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A01731

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

Preview Lab → · Contrast checker → · Palette generator →

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