#AA1F1F#AA1F1F

#AA1F1F is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.9% C 0.174 H 26.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AA1F1F
RGBrgb(170, 31, 31)
HSLhsl(0, 69%, 39%)
HSVhsv(0, 82%, 67%)
CMYKcmyk(0%, 81.8%, 81.8%, 33.3%)
CIE-LABlab(37.17, 54.29, 36.84)
CIE-LCHlch(37.17, 65.61, 34.16°)
OKLaboklab(47.93% 0.1556 0.079)
OKLCHoklch(47.93% 0.174 26.9)
XYZxyz(17.3170, 9.6278, 2.2426)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1F1F #1FAAAA
analogous
#AA1F65 #AA1F1F #AA651F
triadic
#AA1F1F #1FAA1F #1F1FAA
tetradic
#AA1F1F #65AA1F #1FAAAA #651FAA
square
#AA1F1F #65AA1F #1FAAAA #651FAA
split-complementary
#AA1F1F #1FAA65 #1F65AA
monochromatic
#420C0C #761616 #AA1F1F #D92D2D #E26161

Accessibility & contrast

On white

7.18
#AA1F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#AA1F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA1F1F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1F1F#FFFFFF#000000##FFFFFF
##AA1F1F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441D
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#BC0021
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #aa1f1f;
/* rgb */ color: rgb(170, 31, 31);
/* oklch */ color: oklch(47.9% 0.174 26.9);
Tailwind
colors: {
  custom: {
    50: '#cd695c',
    500: '#aa1f1f',
    950: '#000000',
  },
}
SCSS
$custom: #aa1f1f;
$custom-light: #cd695c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1f1f",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 31
  },
  "hsl": {
    "h": 0,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47932,
    "c": 0.17446,
    "h": 26.9
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#AA1F1F
secondary
#5EC7C7
accent
#ECEC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #AA1F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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