#AA2731#AA2731

#AA2731 is a mid, vivid red. Relative luminance 0.102; OKLCH L 48.8% C 0.167 H 22.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AA2731
RGBrgb(170, 39, 49)
HSLhsl(355, 63%, 41%)
HSVhsv(355, 77%, 67%)
CMYKcmyk(0%, 77.1%, 71.2%, 33.3%)
CIE-LABlab(38.24, 52.60, 27.37)
CIE-LCHlch(38.24, 59.30, 27.49°)
OKLaboklab(48.8% 0.1542 0.0631)
OKLCHoklch(48.8% 0.167 22.3)
XYZxyz(17.8595, 10.2216, 3.9377)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2731 #27AAA0
analogous
#AA2772 #AA2731 #AA5E27
triadic
#AA2731 #31AA27 #2731AA
tetradic
#AA2731 #72AA27 #27AAA0 #5E27AA
square
#AA2731 #72AA27 #27AAA0 #5E27AA
split-complementary
#AA2731 #27AA5E #2772AA
monochromatic
#461014 #781C23 #AA2731 #D23C47 #DE6E76

Accessibility & contrast

On white

6.90
#AA2731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#AA2731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2731
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2731#FFFFFF#000000##FFFFFF
##AA27311.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4830
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#BB002C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #aa2731;
/* rgb */ color: rgb(170, 39, 49);
/* oklch */ color: oklch(48.8% 0.167 22.3);
Tailwind
colors: {
  custom: {
    50: '#cb6d69',
    500: '#aa2731',
    950: '#000000',
  },
}
SCSS
$custom: #aa2731;
$custom-light: #cb6d69;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2731",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 355.42,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48798,
    "c": 0.16658,
    "h": 22.3
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#AA2731
secondary
#69C4BD
accent
#E6D942
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AA2731

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

Preview Lab → · Contrast checker → · Palette generator →

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