#8A1A21

A color in the Red, Pink family

#8a1a21 is a color in the Red, Pink family: RGB(138, 26, 33), HSL(356°, 68%, 32%), CMYK(0%, 81%, 76%, 46%). Closest named color: darkred. Contrast is 9.33:1 on white and 2.25:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a1a21
RGBrgb(138 26 33)
RGB (legacy)rgb(138, 26, 33)
RGB %rgb(54% 10% 13%)
HSLhsl(356 68% 32%)
HSV / HSBhsv(356, 81%, 54%)
HWBhwb(356 10% 46%)
CMYKcmyk(0%, 81%, 76%, 46%)
CIELAB (D50)lab(30.61 46.61 27.31)
LCHlch(30.61 54.02 30.37)
OKLaboklab(0.4148 0.1343 0.0588)
OKLCHoklch(0.4148 0.1466 23.64)
Decimal9050657

Properties

Color ToneRed, Pink
Closest named colordarkred ΔE 2.8
Closest web-safe color#993333
Hue356°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)32%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)24% / 20%
Relative luminance (WCAG)0.0625
Red / Green / Blue138 / 26 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.33:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.25: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 90.1 / -12.2 · As background with white / black text: Lc -94.6 / 13.9

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: #8a1a21;
  --color-brand-oklch: oklch(41.48% 0.1466 23.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 26 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a1a21] text-[#8a1a21] border-[#8a1a21]">