Skip to content
Kolorvia
#401227

Color #401227

A moderately saturated very dark pink.

Conversions

HEX
#401227
RGB
rgb(64, 18, 39)
HSL
hsl(332.6, 56.1%, 16.1%)
HSV / HSB
hsv(332.6, 71.9%, 25.1%)
CMYK
cmyk(0%, 71.9%, 39.1%, 74.9%)
LAB
lab(13.65, 24.72, -2.51)
LCH
lch(13.65, 24.85, 354.2)
OKLCH
oklch(26.6%, 0.0758, 355.23)
HWB
hwb(332.6, 7.1%, 74.9%)

Harmony colors

Complementary

#12402b

Analogous

#40123e
#401227
#401412

Triadic

#401227
#274012
#122740

Split-complementary

#401227
#124014
#123e40

Tetradic

#401227
#402b12
#12402b
#122740

Square

#401227
#3e4012
#12402b
#141240

Shades

Color #401227 mixed toward black.

#350f21
#2b0c1a
#200914
#15060d
#0b0307

Tints

Color #401227 mixed toward white.

#782249
#af316b
#d0588f
#e090b4
#efc7da

Tones

Color #401227 mixed toward gray.

#3c1627
#381a28
#351e28
#312128
#2d2529

Accessibility

Aa White text on this color
15.74:1
Aa Black text on this color
1.33:1

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

Under color vision deficiencies

Protanopia

#323123 · ΔE 28.3

Deuteranopia

#343722 · ΔE 33.3

Tritanopia

#3f201f · ΔE 9.5

Achromatopsia

#232323 · ΔE 19.9

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

Code

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

Related colors

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

Frequently asked questions

#401227 (#401227) is rgb(64, 18, 39) in RGB.

No, #401227 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #401227, 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.