#8A1E4E

A color in the Red, Pink family

#8a1e4e is a color in the Red, Pink family: RGB(138, 30, 78), HSL(333°, 64%, 33%), CMYK(0%, 78%, 43%, 46%). Closest named color: darkred. Contrast is 8.84:1 on white and 2.38:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a1e4e
RGBrgb(138 30 78)
RGB (legacy)rgb(138, 30, 78)
RGB %rgb(54% 12% 31%)
HSLhsl(333 64% 33%)
HSV / HSBhsv(333, 78%, 54%)
HWBhwb(333 12% 46%)
CMYKcmyk(0%, 78%, 43%, 46%)
CIELAB (D50)lab(31.91 47.68 -0.5)
LCHlch(31.91 47.68 359.4)
OKLaboklab(0.4293 0.1479 -0.0031)
OKLCHoklch(0.4293 0.1479 358.8)
Decimal9051726

Properties

Color ToneRed, Pink
Closest named colordarkred ΔE 8.8
Closest web-safe color#993366
Hue333°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)33%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)27% / 22%
Relative luminance (WCAG)0.0688
Red / Green / Blue138 / 30 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.84:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.38: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 89 / -13.2 · As background with white / black text: Lc -93.6 / 15

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: #8a1e4e;
  --color-brand-oklch: oklch(42.93% 0.1479 358.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 30 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a1e4e] text-[#8a1e4e] border-[#8a1e4e]">