#8A2A4E

A color in the Red, Pink family

#8a2a4e is a color in the Red, Pink family: RGB(138, 42, 78), HSL(338°, 53%, 35%), CMYK(0%, 70%, 43%, 46%). Closest named color: brown. Contrast is 8.33:1 on white and 2.52:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a2a4e
RGBrgb(138 42 78)
RGB (legacy)rgb(138, 42, 78)
RGB %rgb(54% 16% 31%)
HSLhsl(338 53% 35%)
HSV / HSBhsv(338, 70%, 54%)
HWBhwb(338 16% 46%)
CMYKcmyk(0%, 70%, 43%, 46%)
CIELAB (D50)lab(33.51 43.38 1.8)
LCHlch(33.51 43.42 2.38)
OKLaboklab(0.4412 0.1335 0.003)
OKLCHoklch(0.4412 0.1336 1.29)
Decimal9054798

Properties

Color ToneRed, Pink
Closest named colorbrown ΔE 7.8
Closest web-safe color#993366
Hue338°
Saturation (HSL / HSV)53% / 70%
Lightness (HSL)35%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)29% / 25%
Relative luminance (WCAG)0.0761
Red / Green / Blue138 / 42 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.33:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.52: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 87.9 / -14.3 · As background with white / black text: Lc -92.5 / 16.1

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