HSL(317, 82%, 42%)
Vivid Pink — Pink color
Adjust Color
Color Information
Color Name
Vivid Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,82%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 82%, 42%) | color: hsl(317, 82%, 42%) | |
| HEX | #C31391 | color: #C31391 | |
| RGB | rgb(195, 19, 145) | color: rgb(195, 19, 145) | |
| CMYK | cmyk(0%, 90%, 26%, 24%) | — | |
| HSV | hsv(317, 90%, 76%) | — | |
| HWB | hwb(317 8% 24%) | color: hwb(317 8% 24%) | |
| OKLCH | oklch(0.551 0.2266 344.17) | color: oklch(0.551 0.2266 344.17) | |
| Lab | lab(44.4 71.76 -23.11) | color: lab(44.4 71.76 -23.11) | |
| LCH | lch(44.4 75.39 342.15) | color: lch(44.4 75.39 342.15) |
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)
#777573 — rgb(119, 117, 115)
Deuteranopia (Green-blind)
#818E6B — rgb(129, 142, 107)
Tritanopia (Blue-blind)
#BA5A55 — rgb(186, 90, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 82%, 42%);
text
color: hsl(317, 82%, 42%);
border
border: 2px solid hsl(317, 82%, 42%);
gradient light
background: linear-gradient(to right, hsl(317, 82%, 62%), hsl(317, 82%, 42%));
gradient dark
background: linear-gradient(to right, hsl(317, 82%, 42%), hsl(317, 82%, 22%))
hex
background-color: #C31391;
tailwind
bg-[hsl(317,82%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 82%, 42%, 0.4);
css variable
--color-primary: hsl(317, 82%, 42%);
Related Colors
Use Cases for Vivid Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 82%, 42%)?
HEX: #C31391 | RGB: rgb(195, 19, 145) | CMYK: 0%, 90%, 26%, 24% | HSV: 317°, 90%, 76%. Copy any format from the conversion table above.
What colors go well with #C31391?
The complementary color is HSL(137, 82%, 42%). 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, 82%, 42%) in CSS?
As HSL: color: hsl(317, 82%, 42%); — As HEX: color: #C31391; — As RGB: color: rgb(195, 19, 145); — Tailwind CSS: bg-[hsl(317,82%,42%)] — CSS variable: --color-primary: hsl(317, 82%, 42%);