#AA0504#AA0504

#AA0504 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.5% C 0.188 H 29.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AA0504
RGBrgb(170, 5, 4)
HSLhsl(0, 95%, 34%)
HSVhsv(0, 98%, 67%)
CMYKcmyk(0%, 97.1%, 97.6%, 33.3%)
CIE-LABlab(35.33, 58.53, 47.90)
CIE-LCHlch(35.33, 75.63, 39.29°)
OKLaboklab(46.52% 0.1647 0.0915)
OKLCHoklch(46.52% 0.188 29.1)
XYZxyz(16.6560, 8.6663, 0.9106)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA0504 #04A9AA
analogous
#AA0456 #AA0504 #AA5804
triadic
#AA0504 #04AA05 #0504AA
tetradic
#AA0504 #56AA04 #04A9AA #5804AA
square
#AA0504 #56AA04 #04A9AA #5804AA
split-complementary
#AA0504 #04AA58 #0456AA
monochromatic
#320101 #6E0303 #AA0504 #E60705 #FA302E

Accessibility & contrast

On white

7.68
#AA0504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#AA0504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA0504
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA0504#FFFFFF#000000##FFFFFF
##AA05041.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473D00
Deuteranopia (green-blind)
#6C5F00
Tritanopia (blue-blind)
#BC000B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #aa0504;
/* rgb */ color: rgb(170, 5, 4);
/* oklch */ color: oklch(46.5% 0.188 29.1);
Tailwind
colors: {
  custom: {
    50: '#cf634b',
    500: '#aa0504',
    950: '#000000',
  },
}
SCSS
$custom: #aa0504;
$custom-light: #cf634b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa0504",
  "rgb": {
    "r": 170,
    "g": 5,
    "b": 4
  },
  "hsl": {
    "h": 0.361,
    "s": 95.402,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46521,
    "c": 0.18838,
    "h": 29.1
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#AA0504
secondary
#33D5D6
accent
#FEFF29
background
#FEF6F4
surface
#FCEBE7
border
#D5C6C3
text
#160601
muted
#847A77

Preview Lab

Preview with #AA0504

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

Preview Lab → · Contrast checker → · Palette generator →

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