Magenta-pink (#CC338B)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 4.76:1 — vs black: 4.41:1
Color values
-
HEX
#CC338B -
RGB
rgb(204, 51, 139) -
HSL
hsl(325, 75%, 80%) -
CMYK
cmyk( 0, 75, 31.86, 20 )
Tags
Style
Use case
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #CC338B based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#CC338B
Base
#33CC74
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#CC338B
Base
#C133CC
#CC333E
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#CC338B
Base
#8BCC33
#338BCC
Two colors flanking the complement — high contrast with less tension than full complementary.
#CC338B
Base
#3ECC33
#33CCC1
Four colors at 90° intervals — rich variety, best when one color dominates.
#CC338B
Base
#CCC133
#33CC74
#333ECC
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#CC338B
Base
#521438
#8F2461
#AB2B75
#D4549E
#DB70AE
#EBADD1
Darker shades and lighter tints of Magenta-pink, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#14050E
#390E27
#5E1740
#832159
#A72A72
#CC338B
Base
#D558A0
#DE7CB5
#E8A1CA
#F1C6DF
#FAEBF3
Ready-to-use code snippets for #CC338B. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #CC338B;
}
/* Text */
.element {
color: #CC338B;
}
/* Border */
.element {
border: 1px solid #CC338B;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#CC338B,
#A6F2C6
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#CC338B,
#A6F2C6
);
}
// SCSS variable
$magenta-pink: #CC338B;
// With RGB channels (useful for rgba() usage)
$magenta-pink-r: 204;
$magenta-pink-g: 51;
$magenta-pink-b: 139;
// Usage
.element {
background-color: $magenta-pink;
color: rgba($magenta-pink-r, $magenta-pink-g, $magenta-pink-b, 0.8);
}
How Magenta-pink appears to people with different types of color vision deficiency.
#CC338B
How the color appears with full color vision.
#7B7B88
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#57578C
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#C74646
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#737373
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.