#7E2221

A color in the Red, Pink family

#7e2221 is a color in the Red, Pink family: RGB(126, 34, 33), HSL(1°, 58%, 31%), CMYK(0%, 73%, 74%, 51%). Closest named color: maroon. Contrast is 9.82:1 on white and 2.14:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7e2221
RGBrgb(126 34 33)
RGB (legacy)rgb(126, 34, 33)
RGB %rgb(49% 13% 13%)
HSLhsl(1 58% 31%)
HSV / HSBhsv(1, 74%, 49%)
HWBhwb(1 13% 51%)
CMYKcmyk(0%, 73%, 74%, 51%)
CIELAB (D50)lab(29.11 39.93 24.82)
LCHlch(29.11 47.02 31.86)
OKLaboklab(0.3998 0.1143 0.0545)
OKLCHoklch(0.3998 0.1267 25.49)
Decimal8266273

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 3.7
Closest web-safe color#663333
Hue1°
Saturation (HSL / HSV)58% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)24% / 21%
Relative luminance (WCAG)0.0569
Red / Green / Blue126 / 34 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.82:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.14: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 91.7 / -10.6 · As background with white / black text: Lc -96 / 12.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: #7e2221;
  --color-brand-oklch: oklch(39.98% 0.1267 25.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 34 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7e2221] text-[#7e2221] border-[#7e2221]">