#AA2127#AA2127

#AA2127 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.2% C 0.172 H 24.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AA2127
RGBrgb(170, 33, 39)
HSLhsl(357, 67%, 40%)
HSVhsv(357, 81%, 67%)
CMYKcmyk(0%, 80.6%, 77.1%, 33.3%)
CIE-LABlab(37.45, 54.00, 32.52)
CIE-LCHlch(37.45, 63.04, 31.06°)
OKLaboklab(48.17% 0.1564 0.0721)
OKLCHoklch(48.17% 0.172 24.8)
XYZxyz(17.4897, 9.7831, 2.8865)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2127 #21AAA4
analogous
#AA216C #AA2127 #AA5F21
triadic
#AA2127 #27AA21 #2127AA
tetradic
#AA2127 #6CAA21 #21AAA4 #5F21AA
square
#AA2127 #6CAA21 #21AAA4 #5F21AA
split-complementary
#AA2127 #21AA5F #216CAA
monochromatic
#430D0F #77171B #AA2127 #D73138 #E1646A

Accessibility & contrast

On white

7.10
#AA2127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#AA2127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA2127
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2127#FFFFFF#000000##FFFFFF
##AA21271.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4526
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#BB0025
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #aa2127;
/* rgb */ color: rgb(170, 33, 39);
/* oklch */ color: oklch(48.2% 0.172 24.8);
Tailwind
colors: {
  custom: {
    50: '#cc6a61',
    500: '#aa2127',
    950: '#000000',
  },
}
SCSS
$custom: #aa2127;
$custom-light: #cc6a61;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2127",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.372,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4817,
    "c": 0.1722,
    "h": 24.8
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#AA2127
secondary
#61C6C2
accent
#EAE33D
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #AA2127

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

Preview Lab → · Contrast checker → · Palette generator →

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