#AA1F1C#AA1F1C

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

Color values

HEX#AA1F1C
RGBrgb(170, 31, 28)
HSLhsl(1, 72%, 39%)
HSVhsv(1, 84%, 67%)
CMYKcmyk(0%, 81.8%, 83.5%, 33.3%)
CIE-LABlab(37.14, 54.20, 38.46)
CIE-LCHlch(37.14, 66.46, 35.36°)
OKLaboklab(47.9% 0.1547 0.0814)
OKLCHoklch(47.9% 0.175 27.8)
XYZxyz(17.2793, 9.6127, 2.0440)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1F1C #1CA7AA
analogous
#AA1C60 #AA1F1C #AA661C
triadic
#AA1F1C #1CAA1F #1F1CAA
tetradic
#AA1F1C #60AA1C #1CA7AA #661CAA
square
#AA1F1C #60AA1C #1CA7AA #661CAA
split-complementary
#AA1F1C #1CAA66 #1C60AA
monochromatic
#410C0B #751513 #AA1F1C #DC2B28 #E45F5C

Accessibility & contrast

On white

7.19
#AA1F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#AA1F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA1F1C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1F1C#FFFFFF#000000##FFFFFF
##AA1F1C1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa1f1c;
/* rgb */ color: rgb(170, 31, 28);
/* oklch */ color: oklch(47.9% 0.175 27.8);
Tailwind
colors: {
  custom: {
    50: '#cd695a',
    500: '#aa1f1c',
    950: '#000000',
  },
}
SCSS
$custom: #aa1f1c;
$custom-light: #cd695a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1f1c",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 28
  },
  "hsl": {
    "h": 1.268,
    "s": 71.717,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.1748,
    "h": 27.8
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#AA1F1C
secondary
#5AC6C8
accent
#EBEE39
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #AA1F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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