HSL(316, 73%, 45%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(316,73%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(316, 73%, 45%) | color: hsl(316, 73%, 45%) | |
| HEX | #C71F9A | color: #C71F9A | |
| RGB | rgb(199, 31, 154) | color: rgb(199, 31, 154) | |
| CMYK | cmyk(0%, 84%, 23%, 22%) | — | |
| HSV | hsv(316, 84%, 78%) | — | |
| HWB | hwb(316 12% 22%) | color: hwb(316 12% 22%) | |
| OKLCH | oklch(0.567 0.2268 342.34) | color: oklch(0.567 0.2268 342.34) | |
| Lab | lab(46.26 71.62 -25.6) | color: lab(46.26 71.62 -25.6) | |
| LCH | lch(46.26 76.06 340.33) | color: lch(46.26 76.06 340.33) |
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)
#7E7D7C — rgb(126, 125, 124)
Deuteranopia (Green-blind)
#889575 — rgb(136, 149, 117)
Tritanopia (Blue-blind)
#BF6560 — rgb(191, 101, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(316, 73%, 45%);
text
color: hsl(316, 73%, 45%);
border
border: 2px solid hsl(316, 73%, 45%);
gradient light
background: linear-gradient(to right, hsl(316, 73%, 65%), hsl(316, 73%, 45%));
gradient dark
background: linear-gradient(to right, hsl(316, 73%, 45%), hsl(316, 73%, 25%))
hex
background-color: #C71F9A;
tailwind
bg-[hsl(316,73%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(316, 73%, 45%, 0.4);
css variable
--color-primary: hsl(316, 73%, 45%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(316, 73%, 45%)?
HEX: #C71F9A | RGB: rgb(199, 31, 154) | CMYK: 0%, 84%, 23%, 22% | HSV: 316°, 84%, 78%. Copy any format from the conversion table above.
What colors go well with #C71F9A?
The complementary color is HSL(136, 73%, 45%). For a triadic harmony, use hues 316°, 76°, and 196°. For analogous combinations, try hues 286° and 346°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(316, 73%, 45%) in CSS?
As HSL: color: hsl(316, 73%, 45%); — As HEX: color: #C71F9A; — As RGB: color: rgb(199, 31, 154); — Tailwind CSS: bg-[hsl(316,73%,45%)] — CSS variable: --color-primary: hsl(316, 73%, 45%);