HSL(317, 58%, 39%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,58%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 58%, 39%) | color: hsl(317, 58%, 39%) | |
| HEX | #9D2A7C | color: #9D2A7C | |
| RGB | rgb(157, 42, 124) | color: rgb(157, 42, 124) | |
| CMYK | cmyk(0%, 73%, 21%, 38%) | — | |
| HSV | hsv(317, 73%, 62%) | — | |
| HWB | hwb(317 17% 38%) | color: hwb(317 17% 38%) | |
| OKLCH | oklch(0.4914 0.1731 341.78) | color: oklch(0.4914 0.1731 341.78) | |
| Lab | lab(38.34 54.86 -20.15) | color: lab(38.34 54.86 -20.15) | |
| LCH | lch(38.34 58.44 339.83) | color: lch(38.34 58.44 339.83) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#6B6A68 — rgb(107, 106, 104)
Deuteranopia (Green-blind)
#727B63 — rgb(114, 123, 99)
Tritanopia (Blue-blind)
#975855 — rgb(151, 88, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 58%, 39%);
text
color: hsl(317, 58%, 39%);
border
border: 2px solid hsl(317, 58%, 39%);
gradient light
background: linear-gradient(to right, hsl(317, 58%, 59%), hsl(317, 58%, 39%));
gradient dark
background: linear-gradient(to right, hsl(317, 58%, 39%), hsl(317, 58%, 19%))
hex
background-color: #9D2A7C;
tailwind
bg-[hsl(317,58%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 58%, 39%, 0.4);
css variable
--color-primary: hsl(317, 58%, 39%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 58%, 39%)?
HEX: #9D2A7C | RGB: rgb(157, 42, 124) | CMYK: 0%, 73%, 21%, 38% | HSV: 317°, 73%, 62%. Copy any format from the conversion table above.
What colors go well with #9D2A7C?
The complementary color is HSL(137, 58%, 39%). 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, 58%, 39%) in CSS?
As HSL: color: hsl(317, 58%, 39%); — As HEX: color: #9D2A7C; — As RGB: color: rgb(157, 42, 124); — Tailwind CSS: bg-[hsl(317,58%,39%)] — CSS variable: --color-primary: hsl(317, 58%, 39%);