Maroon Colors  ·  Color Library

Palettes / Colors / #B402CC

#B402CC — Vivid Pink

#B402CC 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 #B402CC 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.

#B402CC 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.

#B402CC · RGB 180, 2, 204

Download PNG swatch SVG

Color values

HEX#B402CC
RGB180, 2, 204
HSL293°, 98%, 40%
HSV293°, 99%, 80%
CMYK12%, 99%, 0%, 20%
XYZ29.74, 14.11, 58.28
Yxy14.11, 0.2912, 0.1381
CIE-Lab44.39, 79.18, -58.28
Hunter Lab37.56, 78.87, -70.36

RGB & CMYK percentages

Red 71% · Green 1% · Blue 80%

Cyan 12% · Magenta 99% · Yellow 0% · Key 20%

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

Previews

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

CSS code for #B402CC

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

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

Shades of #B402CC

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

Tints of #B402CC

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

Tones of #B402CC

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

Color harmonies

Complementary — #19CA02:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.50:1 AA
Against black text3.82:1 AA large only

Best text color on #B402CC: #FFFFFF.

Semi-transparent (opacity) text on #B402CC

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 #B402CC: ·

How #B402CC looks with color blindness

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

Protanopia · #67659BDeuteranopia · #717F8FTritanopia · #AB756C

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 #B402CC rather than the exact color:

Silent Ruby Aurora
#B715CE · #EA2FD4 · #4EEB37 · #C3F3B6
Vintage Horizon
#651EAF · #AF16CA · #C0259F · #D72772
Tranquil Summit
#235EE8 · #2314D2 · #7524D7 · #A613C4
Rustic Ruby Dusk
#46AAE7 · #677CE9 · #9A75F1 · #A412D4
Palette 8100d1
#8100D1 · #B500B2 · #FF52A0 · #FFA47F
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#A412D4#B500B2#B115B9#B11FD1#C917C9#BF1FC6#A011B8#BD1EBF#B81FDA

Browse neighbouring colors

← #B402CB  ·  #B402CD →

Frequently asked questions

What color is #B402CC?

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

What is the RGB and HSL of #B402CC?

#B402CC is RGB 180, 2, 204 — HSL 293°, 98%, 40% — CMYK 12%, 99%, 0%, 20%.

What colors go with #B402CC?

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

Can I use #B402CC for text?

White text on #B402CC has a contrast ratio of 5.50:1 (passes WCAG AA); black text gives 3.82:1.