#AA271E#AA271E

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

Color values

HEX#AA271E
RGBrgb(170, 39, 30)
HSLhsl(4, 70%, 39%)
HSVhsv(4, 82%, 67%)
CMYKcmyk(0%, 77.1%, 82.4%, 33.3%)
CIE-LABlab(38.01, 51.86, 38.21)
CIE-LCHlch(38.01, 64.42, 36.39°)
OKLaboklab(48.56% 0.1477 0.0816)
OKLCHoklch(48.56% 0.169 28.9)
XYZxyz(17.5396, 10.0936, 2.2528)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA271E #1EA1AA
analogous
#AA1E5B #AA271E #AA6D1E
triadic
#AA271E #1EAA27 #271EAA
tetradic
#AA271E #5BAA1E #1EA1AA #6D1EAA
square
#AA271E #5BAA1E #1EA1AA #6D1EAA
split-complementary
#AA271E #1EAA6D #1E5BAA
monochromatic
#420F0C #761B15 #AA271E #DA372C #E36860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA271E#FFFFFF#000000##FFFFFF
##AA271E1.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)
#50471B
Deuteranopia (green-blind)
#706417
Tritanopia (blue-blind)
#BC0027
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #aa271e;
/* rgb */ color: rgb(170, 39, 30);
/* oklch */ color: oklch(48.6% 0.169 28.9);
Tailwind
colors: {
  custom: {
    50: '#cd6c5b',
    500: '#aa271e',
    950: '#000000',
  },
}
SCSS
$custom: #aa271e;
$custom-light: #cd6c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa271e",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 3.857,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.1688,
    "h": 28.9
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#AA271E
secondary
#5CC0C7
accent
#E1ED3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AA271E

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

Preview Lab → · Contrast checker → · Palette generator →

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