#AA402F#AA402F

#AA402F is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.5% C 0.143 H 31.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AA402F
RGBrgb(170, 64, 47)
HSLhsl(8, 57%, 43%)
HSVhsv(8, 72%, 67%)
CMYKcmyk(0%, 62.4%, 72.4%, 33.3%)
CIE-LABlab(41.88, 42.50, 32.81)
CIE-LCHlch(41.88, 53.69, 37.67°)
OKLaboklab(51.51% 0.1219 0.0746)
OKLCHoklch(51.51% 0.143 31.5)
XYZxyz(18.9260, 12.4207, 4.0896)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA402F #2F99AA
analogous
#AA2F5B #AA402F #AA7E2F
triadic
#AA402F #2FAA40 #402FAA
tetradic
#AA402F #5BAA2F #2F99AA #7E2FAA
square
#AA402F #5BAA2F #2F99AA #7E2FAA
split-complementary
#AA402F #2FAA7E #2F5BAA
monochromatic
#4A1C14 #7A2E22 #AA402F #CD5C49 #DA8779

Accessibility & contrast

On white

6.03
#AA402F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA402F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA402F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA402F#FFFFFF#000000##FFFFFF
##AA402F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D542D
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#BB273D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa402f;
/* rgb */ color: rgb(170, 64, 47);
/* oklch */ color: oklch(51.5% 0.143 31.5);
Tailwind
colors: {
  custom: {
    50: '#ca7968',
    500: '#aa402f',
    950: '#000000',
  },
}
SCSS
$custom: #aa402f;
$custom-light: #ca7968;
$custom-dark: #000000;
JSON
{
  "hex": "#aa402f",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 8.293,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.14294,
    "h": 31.5
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#AA402F
secondary
#72B7C2
accent
#CBE048
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AA402F

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

Preview Lab → · Contrast checker → · Palette generator →

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