#AA2F42#AA2F42

#AA2F42 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.158 H 16.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AA2F42
RGBrgb(170, 47, 66)
HSLhsl(351, 57%, 43%)
HSVhsv(351, 72%, 67%)
CMYKcmyk(0%, 72.4%, 61.2%, 33.3%)
CIE-LABlab(39.54, 50.79, 18.43)
CIE-LCHlch(39.54, 54.03, 19.94°)
OKLaboklab(49.86% 0.1519 0.045)
OKLCHoklch(49.86% 0.158 16.5)
XYZxyz(18.5793, 10.9751, 6.2933)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F42 #2FAA97
analogous
#AA2F7F #AA2F42 #AA5A2F
triadic
#AA2F42 #42AA2F #2F42AA
tetradic
#AA2F42 #7FAA2F #2FAA97 #5A2FAA
square
#AA2F42 #7FAA2F #2FAA97 #5A2FAA
split-complementary
#AA2F42 #2FAA5A #2F7FAA
monochromatic
#4A141D #7A222F #AA2F42 #CD495E #DA7988

Accessibility & contrast

On white

6.57
#AA2F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AA2F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F42
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F42#FFFFFF#000000##FFFFFF
##AA2F421.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D42
Deuteranopia (green-blind)
#6F673F
Tritanopia (blue-blind)
#BA0A37
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #aa2f42;
/* rgb */ color: rgb(170, 47, 66);
/* oklch */ color: oklch(49.9% 0.158 16.5);
Tailwind
colors: {
  custom: {
    50: '#ca7176',
    500: '#aa2f42',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f42;
$custom-light: #ca7176;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f42",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 350.732,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4986,
    "c": 0.15843,
    "h": 16.5
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#AA2F42
secondary
#72C2B6
accent
#E0C848
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #AA2F42

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

Preview Lab → · Contrast checker → · Palette generator →

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