#400A25

A color in the Purple, Crimson, Magenta family

#400a25 is a color in the Purple, Crimson, Magenta family: RGB(64, 10, 37), HSL(330°, 73%, 15%), CMYK(0%, 84%, 42%, 75%). Closest named color: maroon. Contrast is 16.3:1 on white and 1.29:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#400a25
RGBrgb(64 10 37)
RGB (legacy)rgb(64, 10, 37)
RGB %rgb(25% 4% 15%)
HSLhsl(330 73% 15%)
HSV / HSBhsv(330, 84%, 25%)
HWBhwb(330 4% 75%)
CMYKcmyk(0%, 84%, 42%, 75%)
CIELAB (D50)lab(12.42 27.77 -2.66)
LCHlch(12.42 27.89 354.52)
OKLaboklab(0.2548 0.0864 -0.008)
OKLCHoklch(0.2548 0.0868 354.74)
Decimal4196901

Properties

Color TonePurple, Crimson, Magenta
Closest named colormaroon ΔE 15.5
Closest web-safe color#330033
Hue330°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)15%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)11% / 9%
Relative luminance (WCAG)0.0144
Red / Green / Blue64 / 10 / 37

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.30:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.29: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.6 / 0 · As background with white / black text: Lc -105.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: #400a25;
  --color-brand-oklch: oklch(25.48% 0.0868 354.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 10 37 / 50%); }
/* Tailwind CSS */
<div class="bg-[#400a25] text-[#400a25] border-[#400a25]">