#A0271B#A0271B

#A0271B is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.159 H 29.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#A0271B
RGBrgb(160, 39, 27)
HSLhsl(5, 71%, 37%)
HSVhsv(5, 83%, 63%)
CMYKcmyk(0%, 75.6%, 83.1%, 37.3%)
CIE-LABlab(36.00, 48.59, 37.21)
CIE-LCHlch(36.00, 61.20, 37.44°)
OKLaboklab(46.69% 0.138 0.0793)
OKLCHoklch(46.69% 0.159 29.9)
XYZxyz(15.4224, 9.0062, 1.9630)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0271B #1B94A0
analogous
#A01B51 #A0271B #A06A1B
triadic
#A0271B #1BA027 #271BA0
tetradic
#A0271B #51A01B #1B94A0 #6A1BA0
square
#A0271B #51A01B #1B94A0 #6A1BA0
split-complementary
#A0271B #1BA06A #1B51A0
monochromatic
#370D09 #6C1A12 #A0271B #D43424 #E26053

Accessibility & contrast

On white

7.50
#A0271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#A0271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0271B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0271B#FFFFFF#000000##FFFFFF
##A0271B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4418
Deuteranopia (green-blind)
#6A5E15
Tritanopia (blue-blind)
#B10026
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a0271b;
/* rgb */ color: rgb(160, 39, 27);
/* oklch */ color: oklch(46.7% 0.159 29.9);
Tailwind
colors: {
  custom: {
    50: '#c56b59',
    500: '#a0271b',
    950: '#000000',
  },
}
SCSS
$custom: #a0271b;
$custom-light: #c56b59;
$custom-dark: #000000;
JSON
{
  "hex": "#a0271b",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 5.414,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46691,
    "c": 0.15919,
    "h": 29.9
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#A0271B
secondary
#52BBC5
accent
#DEEE3A
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A0271B

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

Preview Lab → · Contrast checker → · Palette generator →

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