#4E021A

A color in the Red, Pink family

#4e021a is a color in the Red, Pink family: RGB(78, 2, 26), HSL(341°, 95%, 16%), CMYK(0%, 97%, 67%, 69%). Closest named color: maroon. Contrast is 15.58:1 on white and 1.35:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e021a
RGBrgb(78 2 26)
RGB (legacy)rgb(78, 2, 26)
RGB %rgb(31% 1% 10%)
HSLhsl(341 95% 16%)
HSV / HSBhsv(341, 97%, 31%)
HWBhwb(341 1% 69%)
CMYKcmyk(0%, 97%, 67%, 69%)
CIELAB (D50)lab(14.41 34.38 8.92)
LCHlch(14.41 35.51 14.54)
OKLaboklab(0.2727 0.1042 0.02)
OKLCHoklch(0.2727 0.1061 10.87)
Decimal5112346

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 12.2
Closest web-safe color#660033
Hue341°
Saturation (HSL / HSV)95% / 97%
Lightness (HSL)16%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)11% / 8%
Relative luminance (WCAG)0.0174
Red / Green / Blue78 / 2 / 26

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.58:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.35: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 101.3 / 0 · As background with white / black text: Lc -104.2 / 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: #4e021a;
  --color-brand-oklch: oklch(27.27% 0.1061 10.87);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 2 26 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e021a] text-[#4e021a] border-[#4e021a]">