#7E0121

A color in the Red, Pink family

#7e0121 is a color in the Red, Pink family: RGB(126, 1, 33), HSL(345°, 98%, 25%), CMYK(0%, 99%, 74%, 51%). Closest named color: maroon. Contrast is 10.98:1 on white and 1.91:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7e0121
RGBrgb(126 1 33)
RGB (legacy)rgb(126, 1, 33)
RGB %rgb(49% 0% 13%)
HSLhsl(345 98% 25%)
HSV / HSBhsv(345, 99%, 49%)
HWBhwb(345 0% 51%)
CMYKcmyk(0%, 99%, 74%, 51%)
CIELAB (D50)lab(26.03 48.36 21.32)
LCHlch(26.03 52.85 23.79)
OKLaboklab(0.3765 0.1428 0.0462)
OKLCHoklch(0.3765 0.1501 17.94)
Decimal8257825

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 3
Closest web-safe color#660033
Hue345°
Saturation (HSL / HSV)98% / 99%
Lightness (HSL)25%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)16% / 12%
Relative luminance (WCAG)0.0457
Red / Green / Blue126 / 1 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.98:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.91: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 93.2 / -9.3 · As background with white / black text: Lc -97.3 / 10.8

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: #7e0121;
  --color-brand-oklch: oklch(37.65% 0.1501 17.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 1 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7e0121] text-[#7e0121] border-[#7e0121]">