Skip to content
Kolorvia
#b40c7a

Color #b40c7a

A vivid, highly saturated dark magenta.

Conversions

HEX
#b40c7a
RGB
rgb(180, 12, 122)
HSL
hsl(320.7, 87.5%, 37.6%)
HSV / HSB
hsv(320.7, 93.3%, 70.6%)
CMYK
cmyk(0%, 93.3%, 32.2%, 29.4%)
LAB
lab(40.2, 66.9, -15.68)
LCH
lch(40.2, 68.71, 346.81)
OKLCH
oklch(51.2%, 0.2094, 348.65)
HWB
hwb(320.7, 4.7%, 29.4%)

Harmony colors

Complementary

#0cb446

Analogous

#9a0cb4
#b40c7a
#b40c26

Triadic

#b40c7a
#7ab40c
#0c7ab4

Split-complementary

#b40c7a
#26b40c
#0cb49a

Tetradic

#b40c7a
#b4460c
#0cb446
#0c7ab4

Square

#b40c7a
#b49a0c
#0cb446
#0c26b4

Shades

Color #b40c7a mixed toward black.

#960a66
#780851
#5a063d
#3c0429
#1e0214

Tints

Color #b40c7a mixed toward white.

#e50f9c
#f238b2
#f56ac5
#f89cd8
#fccdec

Tones

Color #b40c7a mixed toward gray.

#a61a76
#982871
#8a366d
#7c4469
#6e5264

Accessibility

Aa White text on this color
6.41:1
Aa Black text on this color
3.27:1

White text reads better on this background (6.41:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#8c8b6b · ΔE 48.9

Deuteranopia

#929968 · ΔE 58.3

Tritanopia

#b05e5b · ΔE 21.9

Achromatopsia

#5f5f5f · ΔE 27.2

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

Code

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

Related colors

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

Frequently asked questions

#b40c7a (#b40c7a) is rgb(180, 12, 122) in RGB.

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