#401D21

A color in the Red, Pink family

#401d21 is a color in the Red, Pink family: RGB(64, 29, 33), HSL(353°, 38%, 18%), CMYK(0%, 55%, 48%, 75%). Closest named color: maroon. Contrast is 14.83:1 on white and 1.42:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#401d21
RGBrgb(64 29 33)
RGB (legacy)rgb(64, 29, 33)
RGB %rgb(25% 11% 13%)
HSLhsl(353 38% 18%)
HSV / HSBhsv(353, 55%, 25%)
HWBhwb(353 11% 75%)
CMYKcmyk(0%, 55%, 48%, 75%)
CIELAB (D50)lab(16.07 17.72 5.46)
LCHlch(16.07 18.54 17.13)
OKLaboklab(0.2817 0.0528 0.0132)
OKLCHoklch(0.2817 0.0544 13.99)
Decimal4201761

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 14
Closest web-safe color#333333
Hue353°
Saturation (HSL / HSV)38% / 55%
Lightness (HSL)18%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)16% / 14%
Relative luminance (WCAG)0.0208
Red / Green / Blue64 / 29 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.83:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.42: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.5 / 0 · As background with white / black text: Lc -104.3 / 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: #401d21;
  --color-brand-oklch: oklch(28.17% 0.0544 13.99);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 29 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#401d21] text-[#401d21] border-[#401d21]">