HSL(317, 79%, 31%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,79%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 79%, 31%) | color: hsl(317, 79%, 31%) | |
| HEX | #8D116A | color: #8D116A | |
| RGB | rgb(141, 17, 106) | color: rgb(141, 17, 106) | |
| CMYK | cmyk(0%, 88%, 25%, 45%) | — | |
| HSV | hsv(317, 88%, 55%) | — | |
| HWB | hwb(317 7% 45%) | color: hwb(317 7% 45%) | |
| OKLCH | oklch(0.4377 0.1758 343.37) | color: oklch(0.4377 0.1758 343.37) | |
| Lab | lab(32.05 55.62 -18.77) | color: lab(32.05 55.62 -18.77) | |
| LCH | lch(32.05 58.7 341.35) | color: lch(32.05 58.7 341.35) |
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)
#575654 — rgb(87, 86, 84)
Deuteranopia (Green-blind)
#5F684F — rgb(95, 104, 79)
Tritanopia (Blue-blind)
#874340 — rgb(135, 67, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 79%, 31%);
text
color: hsl(317, 79%, 31%);
border
border: 2px solid hsl(317, 79%, 31%);
gradient light
background: linear-gradient(to right, hsl(317, 79%, 51%), hsl(317, 79%, 31%));
gradient dark
background: linear-gradient(to right, hsl(317, 79%, 31%), hsl(317, 79%, 11%))
hex
background-color: #8D116A;
tailwind
bg-[hsl(317,79%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 79%, 31%, 0.4);
css variable
--color-primary: hsl(317, 79%, 31%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 79%, 31%)?
HEX: #8D116A | RGB: rgb(141, 17, 106) | CMYK: 0%, 88%, 25%, 45% | HSV: 317°, 88%, 55%. Copy any format from the conversion table above.
What colors go well with #8D116A?
The complementary color is HSL(137, 79%, 31%). 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, 79%, 31%) in CSS?
As HSL: color: hsl(317, 79%, 31%); — As HEX: color: #8D116A; — As RGB: color: rgb(141, 17, 106); — Tailwind CSS: bg-[hsl(317,79%,31%)] — CSS variable: --color-primary: hsl(317, 79%, 31%);