#7C1928

A color in the Red, Pink family

#7c1928 is a color in the Red, Pink family: RGB(124, 25, 40), HSL(351°, 66%, 29%), CMYK(0%, 80%, 68%, 51%). Closest named color: maroon. Contrast is 10.36:1 on white and 2.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7c1928
RGBrgb(124 25 40)
RGB (legacy)rgb(124, 25, 40)
RGB %rgb(49% 10% 16%)
HSLhsl(351 66% 29%)
HSV / HSBhsv(351, 80%, 49%)
HWBhwb(351 10% 51%)
CMYKcmyk(0%, 80%, 68%, 51%)
CIELAB (D50)lab(27.6 42.73 18.37)
LCHlch(27.6 46.51 23.26)
OKLaboklab(0.3883 0.1261 0.0413)
OKLCHoklch(0.3883 0.1327 18.13)
Decimal8132904

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 3.7
Closest web-safe color#660033
Hue351°
Saturation (HSL / HSV)66% / 80%
Lightness (HSL)29%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)22% / 18%
Relative luminance (WCAG)0.0513
Red / Green / Blue124 / 25 / 40

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.36:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.03: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.8 / -9.7 · As background with white / black text: Lc -96.9 / 11.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: #7c1928;
  --color-brand-oklch: oklch(38.83% 0.1327 18.13);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(124 25 40 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7c1928] text-[#7c1928] border-[#7c1928]">