HSL(318, 50%, 60%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,50%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 50%, 60%) | color: hsl(318, 50%, 60%) | |
| HEX | #CC66AD | color: #CC66AD | |
| RGB | rgb(204, 102, 173) | color: rgb(204, 102, 173) | |
| CMYK | cmyk(0%, 50%, 15%, 20%) | — | |
| HSV | hsv(318, 50%, 80%) | — | |
| HWB | hwb(318 40% 20%) | color: hwb(318 40% 20%) | |
| OKLCH | oklch(0.6529 0.1542 340.18) | color: oklch(0.6529 0.1542 340.18) | |
| Lab | lab(57.42 49.24 -19.53) | color: lab(57.42 49.24 -19.53) | |
| LCH | lch(57.42 52.97 338.37) | color: lch(57.42 52.97 338.37) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#A09F9C — rgb(160, 159, 156)
Deuteranopia (Green-blind)
#A6AD98 — rgb(166, 173, 152)
Tritanopia (Blue-blind)
#C78E8B — rgb(199, 142, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 50%, 60%);
text
color: hsl(318, 50%, 60%);
border
border: 2px solid hsl(318, 50%, 60%);
gradient light
background: linear-gradient(to right, hsl(318, 50%, 80%), hsl(318, 50%, 60%));
gradient dark
background: linear-gradient(to right, hsl(318, 50%, 60%), hsl(318, 50%, 40%))
hex
background-color: #CC66AD;
tailwind
bg-[hsl(318,50%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 50%, 60%, 0.4);
css variable
--color-primary: hsl(318, 50%, 60%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 50%, 60%)?
HEX: #CC66AD | RGB: rgb(204, 102, 173) | CMYK: 0%, 50%, 15%, 20% | HSV: 318°, 50%, 80%. Copy any format from the conversion table above.
What colors go well with #CC66AD?
The complementary color is HSL(138, 50%, 60%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(318, 50%, 60%) in CSS?
As HSL: color: hsl(318, 50%, 60%); — As HEX: color: #CC66AD; — As RGB: color: rgb(204, 102, 173); — Tailwind CSS: bg-[hsl(318,50%,60%)] — CSS variable: --color-primary: hsl(318, 50%, 60%);