Skip to content
Kolorvia
#402b27

Color #402b27

A muted dark red.

Conversions

HEX
#402b27
RGB
rgb(64, 43, 39)
HSL
hsl(9.6, 24.3%, 20.2%)
HSV / HSB
hsv(9.6, 39.1%, 25.1%)
CMYK
cmyk(0%, 32.8%, 39.1%, 74.9%)
LAB
lab(19.9, 9.1, 6.49)
LCH
lch(19.9, 11.18, 35.5)
OKLCH
oklch(31.3%, 0.0323, 31.09)
HWB
hwb(9.6, 15.3%, 74.9%)

Harmony colors

Complementary

#273c40

Analogous

#402730
#402b27
#403827

Triadic

#402b27
#27402b
#2b2740

Split-complementary

#402b27
#274038
#273040

Tetradic

#402b27
#3c4027
#273c40
#2b2740

Square

#402b27
#304027
#273c40
#382740

Shades

Color #402b27 mixed toward black.

#352420
#2b1d1a
#201513
#150e0d
#0b0706

Tints

Color #402b27 mixed toward white.

#6a4741
#94645a
#b28881
#ccb0ab
#e5d7d5

Tones

Color #402b27 mixed toward gray.

#3e2c29
#3c2e2b
#3a2f2d
#38312f
#363231

Accessibility

Aa White text on this color
13.18:1
Aa Black text on this color
1.59:1

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

Under color vision deficiencies

Protanopia

#383828 · ΔE 16.6

Deuteranopia

#393b28 · ΔE 18.7

Tritanopia

#3f2929 · ΔE 2.4

Achromatopsia

#303030 · ΔE 11.3

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

Code

CSS
background-color: #402b27;
Tailwind (arbitrary value)
bg-[#402b27]

Related colors

Tomato #ff6347
Salmon #fa8072
Misty Rose #ffe4e1
Dark Salmon #e9967a
Coral #ff7f50
Orange Red #ff4500

Frequently asked questions

#402b27 (#402b27) is rgb(64, 43, 39) in RGB.

No, #402b27 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 #402b27, 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.