Maroon Colors  ·  Color Library

Palettes / Colors / #D040DB

#D040DB — Pink

#D040DB is a pink color we call 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 #D040DB 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.

#D040DB 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 #49DA3E; it also sits naturally between #823EDA and #DA3E97. In the palettes below you can see it working alongside real color combinations from our collection.

#D040DB · RGB 208, 64, 219

Download PNG swatch SVG

Color values

HEX#D040DB
RGB208, 64, 219
HSL296°, 68%, 55%
HSV296°, 71%, 86%
CMYK5%, 71%, 0%, 14%
XYZ40.63, 22.19, 69.16
Yxy22.19, 0.3079, 0.1681
CIE-Lab54.23, 73.95, -50.84
Hunter Lab47.11, 75.22, -58.81

RGB & CMYK percentages

Red 82% · Green 25% · Blue 86%

Cyan 5% · Magenta 71% · Yellow 0% · Key 14%

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

Previews

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

CSS code for #D040DB

.text { color: #D040DB; }
.background { background-color: #D040DB; }
.border { border: 3px solid #D040DB; }
.text-rgb { color: rgb(208, 64, 219); }
.text-hsl { color: hsl(296, 68%, 55%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D040DB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(208, 64, 219, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D040DB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(208, 64, 219, 0.8); }

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

Shades of #D040DB

#CB29D6#B625C1#A221AB#8E1D96#7A1881#611467#4D1051#390B3C#240727#100311

Tints of #D040DB

#D44FDE#D860E1#DC72E4#E183E7#E698EB#EAA9EF#EEBAF2#F2CCF5#F7DDF8#FBEEFC

Tones of #D040DB

#C64ACF#BD54C4#B35FB9#A96BAE#9F76A2#968198

Color harmonies

Complementary — #49DA3E:

Analogous:

Triadic:

Contrast & accessibility

Against white text3.86:1 AA large only
Against black text5.44:1 AA

Best text color on #D040DB: #000000.

Semi-transparent (opacity) text on #D040DB

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

How #D040DB looks with color blindness

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

Protanopia · #9290B5Deuteranopia · #9AA5ACTritanopia · #C99891

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

Burning Harbor
#1C781A · #7BDA58 · #D243D6 · #E5A7DD
Tender Harbor
#5252D9 · #8359DE · #7E27B1 · #CD48D6
Mellow Aurora
#17A296 · #D644E4 · #D8C81F · #A7E9DE
Golden Cascade
#0F3191 · #5323BA · #D04BDF · #E82087
Dusty Ruby Bloom
#CC4AE0 · #D71C85 · #F0504E · #B87415
Electric Ruby Whisper
#5E189D · #C949D7 · #BB1D91 · #C32A62

Similar colors

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

#D243D6#CD48D6#D644E4#D04BDF#CC4AE0#C949D7#C738D6#D244CD#D241EA#D839D0#D131D7#DE40D3

Browse neighbouring colors

← #D040DA  ·  #D040DC →

Frequently asked questions

What color is #D040DB?

#D040DB is Pink, a pink color (RGB 208, 64, 219). Its closest standard named color is Orchid.

What is the RGB and HSL of #D040DB?

#D040DB is RGB 208, 64, 219 — HSL 296°, 68%, 55% — CMYK 5%, 71%, 0%, 14%.

What colors go with #D040DB?

Its complement is #49DA3E; analogous partners are #823EDA and #DA3E97. It also appears in 6+ palettes in our collection.

Can I use #D040DB for text?

Black text on #D040DB has a contrast ratio of 5.44:1 (passes WCAG AA); white text gives 3.86:1.