#A71F21

A color in the Red, Pink family

#a71f21 is a color in the Red, Pink family: RGB(167, 31, 33), HSL(359°, 69%, 39%), CMYK(0%, 81%, 80%, 35%). Closest named color: brown. Contrast is 7.34:1 on white and 2.86:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a71f21
RGBrgb(167 31 33)
RGB (legacy)rgb(167, 31, 33)
RGB %rgb(65% 12% 13%)
HSLhsl(359 69% 39%)
HSV / HSBhsv(359, 81%, 65%)
HWBhwb(359 12% 35%)
CMYKcmyk(0%, 81%, 80%, 35%)
CIELAB (D50)lab(37.25 54.08 36.37)
LCHlch(37.25 65.18 33.92)
OKLaboklab(0.4739 0.1537 0.0757)
OKLCHoklch(0.4739 0.1714 26.22)
Decimal10952481

Properties

Color ToneRed, Pink
Closest named colorbrown ΔE 1.4
Closest web-safe color#993333
Hue359°
Saturation (HSL / HSV)69% / 81%
Lightness (HSL)39%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)28% / 24%
Relative luminance (WCAG)0.0931
Red / Green / Blue167 / 31 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.34:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.86: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.9 / -18.1 · As background with white / black text: Lc -88.9 / 20.2

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: #a71f21;
  --color-brand-oklch: oklch(47.39% 0.1714 26.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(167 31 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a71f21] text-[#a71f21] border-[#a71f21]">