#401E21

A color in the Red, Pink family

#401e21 is a color in the Red, Pink family: RGB(64, 30, 33), HSL(355°, 36%, 18%), CMYK(0%, 53%, 48%, 75%). Closest named color: maroon. Contrast is 14.73:1 on white and 1.43:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#401e21
RGBrgb(64 30 33)
RGB (legacy)rgb(64, 30, 33)
RGB %rgb(25% 12% 13%)
HSLhsl(355 36% 18%)
HSV / HSBhsv(355, 53%, 25%)
HWBhwb(355 12% 75%)
CMYKcmyk(0%, 53%, 48%, 75%)
CIELAB (D50)lab(16.32 17.11 5.8)
LCHlch(16.32 18.07 18.74)
OKLaboklab(0.2836 0.0509 0.014)
OKLCHoklch(0.2836 0.0528 15.43)
Decimal4202017

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 14
Closest web-safe color#333333
Hue355°
Saturation (HSL / HSV)36% / 53%
Lightness (HSL)18%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)16% / 15%
Relative luminance (WCAG)0.0213
Red / Green / Blue64 / 30 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.43: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.4 / 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: #401e21;
  --color-brand-oklch: oklch(28.36% 0.0528 15.43);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 30 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#401e21] text-[#401e21] border-[#401e21]">