#AA271F#AA271F

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

Color values

HEX#AA271F
RGBrgb(170, 39, 31)
HSLhsl(3, 69%, 39%)
HSVhsv(3, 82%, 67%)
CMYKcmyk(0%, 77.1%, 81.8%, 33.3%)
CIE-LABlab(38.02, 51.89, 37.68)
CIE-LCHlch(38.02, 64.13, 35.99°)
OKLaboklab(48.57% 0.148 0.0808)
OKLCHoklch(48.57% 0.169 28.6)
XYZxyz(17.5525, 10.0988, 2.3211)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA271F #1FA2AA
analogous
#AA1F5D #AA271F #AA6D1F
triadic
#AA271F #1FAA27 #271FAA
tetradic
#AA271F #5DAA1F #1FA2AA #6D1FAA
square
#AA271F #5DAA1F #1FA2AA #6D1FAA
split-complementary
#AA271F #1FAA6D #1F5DAA
monochromatic
#420F0C #761B16 #AA271F #D9372D #E26961

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA271F#FFFFFF#000000##FFFFFF
##AA271F1.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)
#50471C
Deuteranopia (green-blind)
#706418
Tritanopia (blue-blind)
#BC0027
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #aa271f;
/* rgb */ color: rgb(170, 39, 31);
/* oklch */ color: oklch(48.6% 0.169 28.6);
Tailwind
colors: {
  custom: {
    50: '#cd6d5c',
    500: '#aa271f',
    950: '#000000',
  },
}
SCSS
$custom: #aa271f;
$custom-light: #cd6d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa271f",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 3.453,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.16866,
    "h": 28.6
  },
  "luminance": 0.10096
}

Semantic roles & 50–950 ramp

primary
#AA271F
secondary
#5EC1C7
accent
#E2EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AA271F

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

Preview Lab → · Contrast checker → · Palette generator →

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