Maroon Colors  ·  Color Library

Palettes / Colors / #B402CA

#B402CA — Vivid Pink

#B402CA is a pink color we call Vivid Pink, closest to the named color DarkViolet (#9400D3). It belongs to the pink family.

Color name

Closest CSS keyword: darkviolet (#9400D3) — not an exact match. CSS darkviolet gives you #9400D3, a different color; use #B402CA when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#B402CA is a cool pink color associated with playfulness, romance and softness. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #19CA02; it also sits naturally between #4F02CA and #CA027D. In the palettes below you can see it working alongside real color combinations from our collection.

#B402CA · RGB 180, 2, 202

Download PNG swatch SVG

Color values

HEX#B402CA
RGB180, 2, 202
HSL293°, 98%, 40%
HSV293°, 99%, 79%
CMYK11%, 99%, 0%, 21%
XYZ29.50, 14.01, 57.03
Yxy14.01, 0.2935, 0.1394
CIE-Lab44.25, 78.86, -57.34
Hunter Lab37.43, 78.42, -68.71

RGB & CMYK percentages

Red 71% · Green 1% · Blue 79%

Cyan 11% · Magenta 99% · Yellow 0% · Key 21%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #B402CA on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #B402CA on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #B402CA

.text { color: #B402CA; }
.background { background-color: #B402CA; }
.border { border: 3px solid #B402CA; }
.text-rgb { color: rgb(180, 2, 202); }
.text-hsl { color: hsl(293, 98%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #B402CA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(180, 2, 202, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #B402CA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(180, 2, 202, 0.8); }

HTML: <p style="color:#B402CA">Text here</p> · <div style="background-color:#B402CA">Div content here</div>

Shades of #B402CA

#A102B6#9302A7#820192#740183#62016F#50015B#43014C#310138#240028#120014

Tints of #B402CA

#CD02E8#E008FD#E426FD#E73FFD#EB5DFD#EF7CFE#F295FE#F5B3FE#F9CDFE#FCEBFF

Tones of #B402CA

#A810BC#9D1FAD#922D9F#873B91#7C4983#715874

Color harmonies

Complementary — #19CA02:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.52:1 AA
Against black text3.80:1 AA large only

Best text color on #B402CA: #FFFFFF.

Semi-transparent (opacity) text on #B402CA

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #B402CA: ·

How #B402CA looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #67659ADeuteranopia · #717F8ETritanopia · #AB736B

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind fuchsia 600 · #C026D3Material Purple 500 · #9C27B0Tailwind purple 600 · #9333EA

Palettes with a similar color

These palettes use a close neighbour of #B402CA rather than the exact color:

Silent Ruby Aurora
#B715CE · #EA2FD4 · #4EEB37 · #C3F3B6
Vintage Horizon
#651EAF · #AF16CA · #C0259F · #D72772
Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4
Palette 8100d1
#8100D1 · #B500B2 · #FF52A0 · #FFA47F
Rustic Ruby Dusk
#46AAE7 · #677CE9 · #9A75F1 · #A412D4
Misty Tempest
#B115B9 · #E551EB · #21D519 · #A3ED9B

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#B715CE#AF16CA#A613C4#B500B2#A412D4#B115B9#C917C9#B11FD1#A011B8#BF1FC6#BD1EBF#B121C2

Browse neighbouring colors

← #B402C9  ·  #B402CB →

Frequently asked questions

What color is #B402CA?

#B402CA is Vivid Pink, a pink color (RGB 180, 2, 202). Its closest standard named color is DarkViolet.

What is the RGB and HSL of #B402CA?

#B402CA is RGB 180, 2, 202 — HSL 293°, 98%, 40% — CMYK 11%, 99%, 0%, 21%.

What colors go with #B402CA?

Its complement is #19CA02; analogous partners are #4F02CA and #CA027D. It also appears in 6+ palettes in our collection.

Can I use #B402CA for text?

White text on #B402CA has a contrast ratio of 5.52:1 (passes WCAG AA); black text gives 3.80:1.