Skip to content
Kolorvia
#400a2b

Color #400a2b

A vivid, highly saturated very dark magenta.

Conversions

HEX
#400a2b
RGB
rgb(64, 10, 43)
HSL
hsl(323.3, 73%, 14.5%)
HSV / HSB
hsv(323.3, 84.4%, 25.1%)
CMYK
cmyk(0%, 84.4%, 32.8%, 74.9%)
LAB
lab(12.49, 28.98, -7.19)
LCH
lch(12.49, 29.86, 346.07)
OKLCH
oklch(25.8%, 0.0903, 347.92)
HWB
hwb(323.3, 3.9%, 74.9%)

Harmony colors

Complementary

#0a401f

Analogous

#3a0a40
#400a2b
#400a10

Triadic

#400a2b
#2b400a
#0a2b40

Split-complementary

#400a2b
#10400a
#0a403a

Tetradic

#400a2b
#401f0a
#0a401f
#0a2b40

Square

#400a2b
#403a0a
#0a401f
#0a1040

Shades

Color #400a2b mixed toward black.

#350824
#2b071d
#200516
#15030e
#0b0207

Tints

Color #400a2b mixed toward white.

#7f1455
#be1e80
#e242a4
#eb81c2
#f5c0e1

Tones

Color #400a2b mixed toward gray.

#3b0e2a
#371329
#321728
#2e1c27
#292026

Accessibility

Aa White text on this color
16.2:1
Aa Black text on this color
1.3:1

White text reads better on this background (16.2:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#313026 · ΔE 28.6

Deuteranopia

#333624 · ΔE 34.6

Tritanopia

#3e2120 · ΔE 12.9

Achromatopsia

#202020 · ΔE 21.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #400a2b;
Tailwind (arbitrary value)
bg-[#400a2b]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Lavender Blush #fff0f5
Pale Violet Red #db7093
Orchid #da70d6

Frequently asked questions

#400a2b (#400a2b) is rgb(64, 10, 43) in RGB.

No, #400a2b is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #400a2b, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.