#7C1918

A color in the Red, Pink family

#7c1918 is a color in the Red, Pink family: RGB(124, 25, 24), HSL(1°, 68%, 29%), CMYK(0%, 80%, 81%, 51%). Closest named color: maroon. Contrast is 10.45:1 on white and 2.01:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7c1918
RGBrgb(124 25 24)
RGB (legacy)rgb(124, 25, 24)
RGB %rgb(49% 10% 9%)
HSLhsl(1 68% 29%)
HSV / HSBhsv(1, 81%, 49%)
HWBhwb(1 9% 51%)
CMYKcmyk(0%, 80%, 81%, 51%)
CIELAB (D50)lab(27.4 42.18 28.47)
LCHlch(27.4 50.89 34.02)
OKLaboklab(0.3856 0.1198 0.0601)
OKLCHoklch(0.3856 0.134 26.63)
Decimal8132888

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 2.3
Closest web-safe color#660000
Hue1°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)29%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)21% / 18%
Relative luminance (WCAG)0.0505
Red / Green / Blue124 / 25 / 24

WCAG 2.2 Contrast Ratio

On White (#ffffff)
10.45:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.01: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.9 / -9.5 · As background with white / black text: Lc -97.1 / 11

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: #7c1918;
  --color-brand-oklch: oklch(38.56% 0.134 26.63);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(124 25 24 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7c1918] text-[#7c1918] border-[#7c1918]">