#7F1D21

A color in the Red, Pink family

#7f1d21 is a color in the Red, Pink family: RGB(127, 29, 33), HSL(358°, 63%, 31%), CMYK(0%, 77%, 74%, 50%). Closest named color: maroon. Contrast is 10:1 on white and 2.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7f1d21
RGBrgb(127 29 33)
RGB (legacy)rgb(127, 29, 33)
RGB %rgb(50% 11% 13%)
HSLhsl(358 63% 31%)
HSV / HSBhsv(358, 77%, 50%)
HWBhwb(358 11% 50%)
CMYKcmyk(0%, 77%, 74%, 50%)
CIELAB (D50)lab(28.63 42.11 24.35)
LCHlch(28.63 48.65 30.04)
OKLaboklab(0.3964 0.1214 0.0533)
OKLCHoklch(0.3964 0.1326 23.7)
Decimal8330529

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 3.3
Closest web-safe color#663333
Hue358°
Saturation (HSL / HSV)63% / 77%
Lightness (HSL)31%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)23% / 20%
Relative luminance (WCAG)0.055
Red / Green / Blue127 / 29 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.00:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.10: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 92 / -10.4 · As background with white / black text: Lc -96.3 / 11.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: #7f1d21;
  --color-brand-oklch: oklch(39.64% 0.1326 23.7);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(127 29 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7f1d21] text-[#7f1d21] border-[#7f1d21]">