HSL(317, 80%, 62%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,80%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 80%, 62%) | color: hsl(317, 80%, 62%) | |
| HEX | #EC51C0 | color: #EC51C0 | |
| RGB | rgb(236, 81, 192) | color: rgb(236, 81, 192) | |
| CMYK | cmyk(0%, 66%, 19%, 7%) | — | |
| HSV | hsv(317, 66%, 93%) | — | |
| HWB | hwb(317 32% 7%) | color: hwb(317 32% 7%) | |
| OKLCH | oklch(0.6797 0.2217 340.95) | color: oklch(0.6797 0.2217 340.95) | |
| Lab | lab(59.46 70.27 -26.92) | color: lab(59.46 70.27 -26.92) | |
| LCH | lch(59.46 75.25 339.04) | color: lch(59.46 75.25 339.04) |
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)
#A9A7A5 — rgb(169, 167, 165)
Deuteranopia (Green-blind)
#B2BE9F — rgb(178, 190, 159)
Tritanopia (Blue-blind)
#E4908B — rgb(228, 144, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 80%, 62%);
text
color: hsl(317, 80%, 62%);
border
border: 2px solid hsl(317, 80%, 62%);
gradient light
background: linear-gradient(to right, hsl(317, 80%, 82%), hsl(317, 80%, 62%));
gradient dark
background: linear-gradient(to right, hsl(317, 80%, 62%), hsl(317, 80%, 42%))
hex
background-color: #EC51C0;
tailwind
bg-[hsl(317,80%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 80%, 62%, 0.4);
css variable
--color-primary: hsl(317, 80%, 62%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 80%, 62%)?
HEX: #EC51C0 | RGB: rgb(236, 81, 192) | CMYK: 0%, 66%, 19%, 7% | HSV: 317°, 66%, 93%. Copy any format from the conversion table above.
What colors go well with #EC51C0?
The complementary color is HSL(137, 80%, 62%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(317, 80%, 62%) in CSS?
As HSL: color: hsl(317, 80%, 62%); — As HEX: color: #EC51C0; — As RGB: color: rgb(236, 81, 192); — Tailwind CSS: bg-[hsl(317,80%,62%)] — CSS variable: --color-primary: hsl(317, 80%, 62%);