Maroon Colors  ·  Color Library

Palettes / Colors / #D331B4

#D331B4 — Pink

#D331B4 is a pink color we call Pink, closest to the named color MediumVioletRed (#C71585). It belongs to the pink family.

Color name

Closest CSS keyword: mediumvioletred (#C71585) — not an exact match. CSS mediumvioletred gives you #C71585, a different color; use #D331B4 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.

#D331B4 is a warm-leaning 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 #31D34F; it also sits naturally between #A031D3 and #D33164. In the palettes below you can see it working alongside real color combinations from our collection.

#D331B4 · RGB 211, 49, 180

Download PNG swatch SVG

Color values

HEX#D331B4
RGB211, 49, 180
HSL311°, 65%, 51%
HSV311°, 77%, 83%
CMYK0%, 77%, 15%, 17%
XYZ36.20, 19.34, 45.01
Yxy19.34, 0.3600, 0.1924
CIE-Lab51.08, 73.28, -33.32
Hunter Lab43.98, 73.47, -33.52

RGB & CMYK percentages

Red 83% · Green 19% · Blue 71%

Cyan 0% · Magenta 77% · Yellow 15% · Key 17%

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

Previews

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

CSS code for #D331B4

.text { color: #D331B4; }
.background { background-color: #D331B4; }
.border { border: 3px solid #D331B4; }
.text-rgb { color: rgb(211, 49, 180); }
.text-hsl { color: hsl(311, 65%, 51%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D331B4; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(211, 49, 180, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D331B4; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(211, 49, 180, 0.8); }

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

Shades of #D331B4

#C229A6#B12597#9C2185#871D73#761965#611553#4C1041#370C2F#260820#11040E

Tints of #D331B4

#D846BD#DB57C3#E06CCA#E37DD0#E892D8#EBA2DE#F0B7E5#F3C8EB#F8DDF3#FBEEF9

Tones of #D331B4

#C83CAE#BC49A6#B0549F#A55F98#9A6A91#8D7789

Color harmonies

Complementary — #31D34F:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.31:1 AA large only
Against black text4.87:1 AA

Best text color on #D331B4: #000000.

Semi-transparent (opacity) text on #D331B4

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

How #D331B4 looks with color blindness

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

Protanopia · #8D8B94Deuteranopia · #96A28DTritanopia · #CB7B76

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 · #C026D3Tailwind pink 500 · #EC4899Material Purple 500 · #9C27B0

Palettes with a similar color

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

Hidden Ruby Drift
#4840E1 · #B460E5 · #D432B1 · #B22743
Dreamy Ruby Horizon
#8BAE1F · #208FB3 · #DB32B2 · #EFF3D5
Amber Horizon
#E557C3 · #DB39B3 · #B61B90 · #631250
Gentle Mosaic
#D32ABE · #CD2659 · #D66F49 · #86751A
Royal Terrace
#1A5386 · #2E26CB · #9B43CF · #D83EB8
Rustic Cascade
#939F21 · #2ABDCC · #C829B9 · #E3E6B3

Similar colors

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

#D432B1#DB32B2#DB39B3#D32ABE#D83EB8#C829B9#D133A5#C835BE#D639C1#C738BD#CF2BA5#D03FAB

Browse neighbouring colors

← #D331B3  ·  #D331B5 →

Frequently asked questions

What color is #D331B4?

#D331B4 is Pink, a pink color (RGB 211, 49, 180). Its closest standard named color is MediumVioletRed.

What is the RGB and HSL of #D331B4?

#D331B4 is RGB 211, 49, 180 — HSL 311°, 65%, 51% — CMYK 0%, 77%, 15%, 17%.

What colors go with #D331B4?

Its complement is #31D34F; analogous partners are #A031D3 and #D33164. It also appears in 6+ palettes in our collection.

Can I use #D331B4 for text?

Black text on #D331B4 has a contrast ratio of 4.87:1 (passes WCAG AA); white text gives 4.31:1.