Maroon Colors  ·  Color Library

Palettes / Colors / #D040EB

#D040EB — Vivid Pink

#D040EB is a pink color we call Vivid Pink, closest to the named color Orchid (#DA70D6). It belongs to the pink family.

Color name

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

#D040EB 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 #5BEB42; it also sits naturally between #7D42EB and #EB42B0. In the palettes below you can see it working alongside real color combinations from our collection.

#D040EB · RGB 208, 64, 235

Download PNG swatch SVG

Color values

HEX#D040EB
RGB208, 64, 235
HSL291°, 81%, 59%
HSV291°, 73%, 92%
CMYK11%, 73%, 0%, 8%
XYZ42.84, 23.07, 80.79
Yxy23.07, 0.2920, 0.1573
CIE-Lab55.15, 76.69, -58.39
Hunter Lab48.04, 78.93, -71.35

RGB & CMYK percentages

Red 82% · Green 25% · Blue 92%

Cyan 11% · Magenta 73% · Yellow 0% · Key 8%

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

Previews

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

CSS code for #D040EB

.text { color: #D040EB; }
.background { background-color: #D040EB; }
.border { border: 3px solid #D040EB; }
.text-rgb { color: rgb(208, 64, 235); }
.text-hsl { color: hsl(291, 81%, 59%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D040EB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(208, 64, 235, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D040EB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(208, 64, 235, 0.8); }

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

Shades of #D040EB

#CC2BE9#C017DE#AC15C6#9412AB#801094#680D78#540A61#3C0745#28052E#100212

Tints of #D040EB

#D654ED#D962EF#DE75F0#E287F2#E799F4#EAA7F6#EEBAF8#F3CCFA#F6DAFB#FBEDFD

Tones of #D040EB

#C94EDF#C15AD3#B866C7#B072BB#A77EAE#9F8AA3

Color harmonies

Complementary — #5BEB42:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.74:1 AA large only
Against black text5.61:1 AA

Best text color on #D040EB: #000000.

Semi-transparent (opacity) text on #D040EB

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

How #D040EB looks with color blindness

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

Protanopia · #9290C2Deuteranopia · #9AA5B8Tritanopia · #C9A19A

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 500 · #D946EFTailwind fuchsia 600 · #C026D3Tailwind purple 500 · #A855F7

Palettes with a similar color

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

Amber Tempest
#499AE1 · #2835E2 · #7D3DDF · #D241EA
Mellow Aurora
#17A296 · #D644E4 · #D8C81F · #A7E9DE
Dreamy Dusk
#3AC911 · #8DF15B · #C73CEE · #D4A0F1
Dusty Horizon
#3595DD · #1D2FE0 · #A573F2 · #D835F0
Wild Ember
#621090 · #C735E8 · #92ED5E · #CCF3BA
Dusty Ruby Bloom
#CC4AE0 · #D71C85 · #F0504E · #B87415

Similar colors

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

#D241EA#D644E4#C73CEE#D835F0#C735E8#CC4AE0#C94EEF#D04BDF#D731ED#C147E9#C93DFB#D630E5

Browse neighbouring colors

← #D040EA  ·  #D040EC →

Frequently asked questions

What color is #D040EB?

#D040EB is Vivid Pink, a pink color (RGB 208, 64, 235). Its closest standard named color is Orchid.

What is the RGB and HSL of #D040EB?

#D040EB is RGB 208, 64, 235 — HSL 291°, 81%, 59% — CMYK 11%, 73%, 0%, 8%.

What colors go with #D040EB?

Its complement is #5BEB42; analogous partners are #7D42EB and #EB42B0. It also appears in 6+ palettes in our collection.

Can I use #D040EB for text?

Black text on #D040EB has a contrast ratio of 5.61:1 (passes WCAG AA); white text gives 3.74:1.