#AA1B21

A color in the Red, Pink family

#aa1b21 is a color in the Red, Pink family: RGB(170, 27, 33), HSL(357°, 73%, 39%), CMYK(0%, 84%, 81%, 33%). Closest named color: brown. Contrast is 7.27:1 on white and 2.89:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aa1b21
RGBrgb(170 27 33)
RGB (legacy)rgb(170, 27, 33)
RGB %rgb(67% 11% 13%)
HSLhsl(357 73% 39%)
HSV / HSBhsv(357, 84%, 67%)
HWBhwb(357 11% 33%)
CMYKcmyk(0%, 84%, 81%, 33%)
CIELAB (D50)lab(37.52 55.95 36.89)
LCHlch(37.52 67.02 33.4)
OKLaboklab(0.4768 0.1594 0.0764)
OKLCHoklch(0.4768 0.1768 25.62)
Decimal11148065

Properties

Color ToneRed, Pink
Closest named colorbrown ΔE 1.8
Closest web-safe color#993333
Hue357°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)39%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)28% / 23%
Relative luminance (WCAG)0.0944
Red / Green / Blue170 / 27 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.89:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 83.5 / -18.5 · As background with white / black text: Lc -88.5 / 20.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #aa1b21;
  --color-brand-oklch: oklch(47.68% 0.1768 25.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 27 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aa1b21] text-[#aa1b21] border-[#aa1b21]">