Maroon Colors  ·  Color Library

Palettes / Colors / #C51EC8

#C51EC8 — Pink

#C51EC8 is a pink color we call Pink, closest to the named color DarkOrchid (#9932CC). It belongs to the pink family.

Color name

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

#C51EC8 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 #21C81E; it also sits naturally between #701EC8 and #C81E76. In the palettes below you can see it working alongside real color combinations from our collection.

#C51EC8 · RGB 197, 30, 200

Download PNG swatch SVG

Color values

HEX#C51EC8
RGB197, 30, 200
HSL299°, 74%, 45%
HSV299°, 85%, 78%
CMYK1%, 85%, 0%, 22%
XYZ33.92, 16.97, 56.13
Yxy16.97, 0.3169, 0.1586
CIE-Lab48.22, 77.83, -49.64
Hunter Lab41.19, 78.30, -56.28

RGB & CMYK percentages

Red 77% · Green 12% · Blue 78%

Cyan 1% · Magenta 85% · Yellow 0% · Key 22%

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

Previews

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

CSS code for #C51EC8

.text { color: #C51EC8; }
.background { background-color: #C51EC8; }
.border { border: 3px solid #C51EC8; }
.text-rgb { color: rgb(197, 30, 200); }
.text-hsl { color: hsl(299, 74%, 45%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #C51EC8; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(197, 30, 200, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #C51EC8; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(197, 30, 200, 0.8); }

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

Shades of #C51EC8

#B31BB6#A219A4#901692#7F1381#6D116F#570D59#460B47#340835#230523#110312

Tints of #C51EC8

#DB21DE#DE37E1#E24EE4#E664E8#EA7EEC#EE95EF#F1ABF2#F5C1F6#F8D7F9#FCEDFC

Tones of #C51EC8

#B92ABB#AE36B0#A143A3#964E97#8A5B8B#7F667F

Color harmonies

Complementary — #21C81E:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.78:1 AA
Against black text4.39:1 AA large only

Best text color on #C51EC8: #FFFFFF.

Semi-transparent (opacity) text on #C51EC8

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

How #C51EC8 looks with color blindness

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

Protanopia · #7D7B9FDeuteranopia · #869395Tritanopia · #BD7E77

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 fuchsia 500 · #D946EF

Palettes with a similar color

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

Modern Ruby Marble
#C3C61D · #23DCDF · #CA1DC6 · #F3F1CE
Dusty Ruby Breeze
#F3CCF5 · #EC9EEF · #D84FDE · #BF1FC6
Crimson Dusk
#C917C9 · #EA42D9 · #1AE019 · #C8F5CA
Tender Whisper
#673CCD · #BF23CC · #A11A57 · #B0422B
Electric Harbor
#BD1EBF · #E662CF · #63E661 · #C4F2C6
Scarlet Ruby Orchard
#C225BE · #B42466 · #E15D55 · #CA9144

Similar colors

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

#CA1DC6#BF1FC6#C917C9#BF23CC#BD1EBF#C225BE#CB1EBC#BC27C3#C01EB9#B715CE#C829B9#D32ABE

Browse neighbouring colors

← #C51EC7  ·  #C51EC9 →

Frequently asked questions

What color is #C51EC8?

#C51EC8 is Pink, a pink color (RGB 197, 30, 200). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #C51EC8?

#C51EC8 is RGB 197, 30, 200 — HSL 299°, 74%, 45% — CMYK 1%, 85%, 0%, 22%.

What colors go with #C51EC8?

Its complement is #21C81E; analogous partners are #701EC8 and #C81E76. It also appears in 6+ palettes in our collection.

Can I use #C51EC8 for text?

White text on #C51EC8 has a contrast ratio of 4.78:1 (passes WCAG AA); black text gives 4.39:1.