Skip to content
Kolorvia
#402a33

Color #402a33

A muted dark pink.

Conversions

HEX
#402a33
RGB
rgb(64, 42, 51)
HSL
hsl(335.5, 20.8%, 20.8%)
HSV / HSB
hsv(335.5, 34.4%, 25.1%)
CMYK
cmyk(0%, 34.4%, 20.3%, 74.9%)
LAB
lab(19.98, 11.87, -1.68)
LCH
lch(19.98, 11.99, 351.94)
OKLCH
oklch(31.5%, 0.0357, 353.07)
HWB
hwb(335.5, 16.5%, 74.9%)

Harmony colors

Complementary

#2a4037

Analogous

#402a3e
#402a33
#402c2a

Triadic

#402a33
#33402a
#2a3340

Split-complementary

#402a33
#2a402c
#2a3e40

Tetradic

#402a33
#40372a
#2a4037
#2a3340

Square

#402a33
#3e402a
#2a4037
#2c2a40

Shades

Color #402a33 mixed toward black.

#35232b
#2b1c22
#20151a
#150e11
#0b0709

Tints

Color #402a33 mixed toward white.

#694553
#915f74
#af8596
#caaeb9
#e4d6dc

Tones

Color #402a33 mixed toward gray.

#3e2c33
#3c2e34
#3b3034
#393134
#373335

Accessibility

Aa White text on this color
13.15:1
Aa Black text on this color
1.6:1

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

Under color vision deficiencies

Protanopia

#383731 · ΔE 16

Deuteranopia

#393a30 · ΔE 19.6

Tritanopia

#3f2f2f · ΔE 5.6

Achromatopsia

#303030 · ΔE 12.7

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

Code

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

Related colors

Lavender Blush #fff0f5
Pale Violet Red #db7093
Hot Pink #ff69b4
Deep Pink #ff1493
Crimson #dc143c
Medium Violet Red #c71585

Frequently asked questions

#402a33 (#402a33) is rgb(64, 42, 51) in RGB.

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