#400A14

A color in the Red, Pink family

#400a14 is a color in the Red, Pink family: RGB(64, 10, 20), HSL(349°, 73%, 15%), CMYK(0%, 84%, 69%, 75%). Closest named color: maroon. Contrast is 16.52:1 on white and 1.27:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#400a14
RGBrgb(64 10 20)
RGB (legacy)rgb(64, 10, 20)
RGB %rgb(25% 4% 8%)
HSLhsl(349 73% 15%)
HSV / HSBhsv(349, 84%, 25%)
HWBhwb(349 4% 75%)
CMYKcmyk(0%, 84%, 69%, 75%)
CIELAB (D50)lab(11.96 26.52 9.29)
LCHlch(11.96 28.1 19.31)
OKLaboklab(0.2489 0.079 0.0216)
OKLCHoklch(0.2489 0.0819 15.29)
Decimal4196884

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 15
Closest web-safe color#330000
Hue349°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)15%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)11% / 9%
Relative luminance (WCAG)0.0136
Red / Green / Blue64 / 10 / 20

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.52:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.27: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 102.8 / 0 · As background with white / black text: Lc -105.4 / 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: #400a14;
  --color-brand-oklch: oklch(24.89% 0.0819 15.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 10 20 / 50%); }
/* Tailwind CSS */
<div class="bg-[#400a14] text-[#400a14] border-[#400a14]">