HSL(317, 70%, 34%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,70%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 70%, 34%) | color: hsl(317, 70%, 34%) | |
| HEX | #931A71 | color: #931A71 | |
| RGB | rgb(147, 26, 113) | color: rgb(147, 26, 113) | |
| CMYK | cmyk(0%, 82%, 23%, 42%) | — | |
| HSV | hsv(317, 82%, 58%) | — | |
| HWB | hwb(317 10% 42%) | color: hwb(317 10% 42%) | |
| OKLCH | oklch(0.4568 0.1765 342.56) | color: oklch(0.4568 0.1765 342.56) | |
| Lab | lab(34.26 55.83 -19.71) | color: lab(34.26 55.83 -19.71) | |
| LCH | lch(34.26 59.21 340.56) | color: lch(34.26 59.21 340.56) |
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)
#5F5E5C — rgb(95, 94, 92)
Deuteranopia (Green-blind)
#666F57 — rgb(102, 111, 87)
Tritanopia (Blue-blind)
#8D4B48 — rgb(141, 75, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 70%, 34%);
text
color: hsl(317, 70%, 34%);
border
border: 2px solid hsl(317, 70%, 34%);
gradient light
background: linear-gradient(to right, hsl(317, 70%, 54%), hsl(317, 70%, 34%));
gradient dark
background: linear-gradient(to right, hsl(317, 70%, 34%), hsl(317, 70%, 14%))
hex
background-color: #931A71;
tailwind
bg-[hsl(317,70%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 70%, 34%, 0.4);
css variable
--color-primary: hsl(317, 70%, 34%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 70%, 34%)?
HEX: #931A71 | RGB: rgb(147, 26, 113) | CMYK: 0%, 82%, 23%, 42% | HSV: 317°, 82%, 58%. Copy any format from the conversion table above.
What colors go well with #931A71?
The complementary color is HSL(137, 70%, 34%). 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, 70%, 34%) in CSS?
As HSL: color: hsl(317, 70%, 34%); — As HEX: color: #931A71; — As RGB: color: rgb(147, 26, 113); — Tailwind CSS: bg-[hsl(317,70%,34%)] — CSS variable: --color-primary: hsl(317, 70%, 34%);