#4E1F21

A color in the Red, Pink family

#4e1f21 is a color in the Red, Pink family: RGB(78, 31, 33), HSL(357°, 43%, 21%), CMYK(0%, 60%, 58%, 69%). Closest named color: maroon. Contrast is 13.62:1 on white and 1.54:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e1f21
RGBrgb(78 31 33)
RGB (legacy)rgb(78, 31, 33)
RGB %rgb(31% 12% 13%)
HSLhsl(357 43% 21%)
HSV / HSBhsv(357, 60%, 31%)
HWBhwb(357 12% 69%)
CMYKcmyk(0%, 60%, 58%, 69%)
CIELAB (D50)lab(19.1 22.77 10.05)
LCHlch(19.1 24.89 23.81)
OKLaboklab(0.309 0.067 0.0238)
OKLCHoklch(0.309 0.0711 19.59)
Decimal5119777

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 10.9
Closest web-safe color#663333
Hue357°
Saturation (HSL / HSV)43% / 60%
Lightness (HSL)21%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)18% / 16%
Relative luminance (WCAG)0.0271
Red / Green / Blue78 / 31 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.62:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.54: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 99.8 / 0 · As background with white / black text: Lc -102.9 / 0

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: #4e1f21;
  --color-brand-oklch: oklch(30.9% 0.0711 19.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 31 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e1f21] text-[#4e1f21] border-[#4e1f21]">