#AA1F1D#AA1F1D

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

Color values

HEX#AA1F1D
RGBrgb(170, 31, 29)
HSLhsl(1, 71%, 39%)
HSVhsv(1, 83%, 67%)
CMYKcmyk(0%, 81.8%, 82.9%, 33.3%)
CIE-LABlab(37.15, 54.23, 37.93)
CIE-LCHlch(37.15, 66.18, 34.97°)
OKLaboklab(47.91% 0.155 0.0806)
OKLCHoklch(47.91% 0.175 27.5)
XYZxyz(17.2915, 9.6176, 2.1081)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1F1D #1DA8AA
analogous
#AA1D62 #AA1F1D #AA661D
triadic
#AA1F1D #1DAA1F #1F1DAA
tetradic
#AA1F1D #62AA1D #1DA8AA #661DAA
square
#AA1F1D #62AA1D #1DA8AA #661DAA
split-complementary
#AA1F1D #1DAA66 #1D62AA
monochromatic
#410C0B #761514 #AA1F1D #DB2C2A #E4605E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA1F1D#FFFFFF#000000##FFFFFF
##AA1F1D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa1f1d;
/* rgb */ color: rgb(170, 31, 29);
/* oklch */ color: oklch(47.9% 0.175 27.5);
Tailwind
colors: {
  custom: {
    50: '#cd695a',
    500: '#aa1f1d',
    950: '#000000',
  },
}
SCSS
$custom: #aa1f1d;
$custom-light: #cd695a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1f1d",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 0.851,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47912,
    "c": 0.1747,
    "h": 27.5
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#AA1F1D
secondary
#5BC6C8
accent
#EBEE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #AA1F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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