HSL(327, 58%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(327,58%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(327, 58%, 20%) | color: hsl(327, 58%, 20%) | |
| HEX | #511536 | color: #511536 | |
| RGB | rgb(81, 21, 54) | color: rgb(81, 21, 54) | |
| CMYK | cmyk(0%, 74%, 33%, 68%) | — | |
| HSV | hsv(327, 74%, 32%) | — | |
| HWB | hwb(327 8% 68%) | color: hwb(327 8% 68%) | |
| OKLCH | oklch(0.3072 0.0968 350.39) | color: oklch(0.3072 0.0968 350.39) | |
| Lab | lab(18.15 31.32 -6.21) | color: lab(18.15 31.32 -6.21) | |
| LCH | lch(18.15 31.93 348.79) | color: lch(18.15 31.93 348.79) |
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)
#37362E — rgb(55, 54, 46)
Deuteranopia (Green-blind)
#3B3F2C — rgb(59, 63, 44)
Tritanopia (Blue-blind)
#4E2826 — rgb(78, 40, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(327, 58%, 20%);
text
color: hsl(327, 58%, 20%);
border
border: 2px solid hsl(327, 58%, 20%);
gradient light
background: linear-gradient(to right, hsl(327, 58%, 40%), hsl(327, 58%, 20%));
gradient dark
background: linear-gradient(to right, hsl(327, 58%, 20%), hsl(327, 58%, 0%))
hex
background-color: #511536;
tailwind
bg-[hsl(327,58%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(327, 58%, 20%, 0.4);
css variable
--color-primary: hsl(327, 58%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(327, 58%, 20%)?
HEX: #511536 | RGB: rgb(81, 21, 54) | CMYK: 0%, 74%, 33%, 68% | HSV: 327°, 74%, 32%. Copy any format from the conversion table above.
What colors go well with #511536?
The complementary color is HSL(147, 58%, 20%). For a triadic harmony, use hues 327°, 87°, and 207°. For analogous combinations, try hues 297° and 357°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(327, 58%, 20%) in CSS?
As HSL: color: hsl(327, 58%, 20%); — As HEX: color: #511536; — As RGB: color: rgb(81, 21, 54); — Tailwind CSS: bg-[hsl(327,58%,20%)] — CSS variable: --color-primary: hsl(327, 58%, 20%);