#AA271B#AA271B

#AA271B is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.5% C 0.169 H 29.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AA271B
RGBrgb(170, 39, 27)
HSLhsl(5, 73%, 39%)
HSVhsv(5, 84%, 67%)
CMYKcmyk(0%, 77.1%, 84.1%, 33.3%)
CIE-LABlab(37.98, 51.78, 39.78)
CIE-LCHlch(37.98, 65.29, 37.53°)
OKLaboklab(48.53% 0.1469 0.084)
OKLCHoklch(48.53% 0.169 29.7)
XYZxyz(17.5031, 10.0790, 2.0605)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA271B #1B9EAA
analogous
#AA1B56 #AA271B #AA6E1B
triadic
#AA271B #1BAA27 #271BAA
tetradic
#AA271B #56AA1B #1B9EAA #6E1BAA
square
#AA271B #56AA1B #1B9EAA #6E1BAA
split-complementary
#AA271B #1BAA6E #1B56AA
monochromatic
#400F0A #751B13 #AA271B #DC3526 #E5665B

Accessibility & contrast

On white

6.96
#AA271B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#AA271B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA271B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA271B#FFFFFF#000000##FFFFFF
##AA271B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504718
Deuteranopia (green-blind)
#706413
Tritanopia (blue-blind)
#BC0026
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #aa271b;
/* rgb */ color: rgb(170, 39, 27);
/* oklch */ color: oklch(48.5% 0.169 29.7);
Tailwind
colors: {
  custom: {
    50: '#cd6c59',
    500: '#aa271b',
    950: '#000000',
  },
}
SCSS
$custom: #aa271b;
$custom-light: #cd6c59;
$custom-dark: #000000;
JSON
{
  "hex": "#aa271b",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 5.035,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.1692,
    "h": 29.7
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#AA271B
secondary
#58BFC9
accent
#E0EF39
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AA271B

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

Preview Lab → · Contrast checker → · Palette generator →

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