#A01F27#A01F27

#A01F27 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.164 H 23.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A01F27
RGBrgb(160, 31, 39)
HSLhsl(356, 68%, 37%)
HSVhsv(356, 81%, 63%)
CMYKcmyk(0%, 80.6%, 75.6%, 37.3%)
CIE-LABlab(35.21, 51.60, 29.46)
CIE-LCHlch(35.21, 59.41, 29.73°)
OKLaboklab(46.15% 0.1501 0.0661)
OKLCHoklch(46.15% 0.164 23.8)
XYZxyz(15.3552, 8.6025, 2.7710)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01F27 #1FA098
analogous
#A01F68 #A01F27 #A0571F
triadic
#A01F27 #27A01F #1F27A0
tetradic
#A01F27 #68A01F #1FA098 #571FA0
square
#A01F27 #68A01F #1FA098 #571FA0
split-complementary
#A01F27 #1FA057 #1F68A0
monochromatic
#390B0E #6D151B #A01F27 #D32933 #DF5A63

Accessibility & contrast

On white

7.72
#A01F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#A01F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01F27
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01F27#FFFFFF#000000##FFFFFF
##A01F271.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474126
Deuteranopia (green-blind)
#675D22
Tritanopia (blue-blind)
#B00024
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a01f27;
/* rgb */ color: rgb(160, 31, 39);
/* oklch */ color: oklch(46.1% 0.164 23.8);
Tailwind
colors: {
  custom: {
    50: '#c56861',
    500: '#a01f27',
    950: '#000000',
  },
}
SCSS
$custom: #a01f27;
$custom-light: #c56861;
$custom-dark: #000000;
JSON
{
  "hex": "#a01f27",
  "rgb": {
    "r": 160,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 356.279,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46146,
    "c": 0.16398,
    "h": 23.8
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#A01F27
secondary
#58C3BC
accent
#EAE03D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #A01F27

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

Preview Lab → · Contrast checker → · Palette generator →

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