HSL(337, 77%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,77%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 77%, 20%) | color: hsl(337, 77%, 20%) | |
| HEX | #5A0C2A | color: #5A0C2A | |
| RGB | rgb(90, 12, 42) | color: rgb(90, 12, 42) | |
| CMYK | cmyk(0%, 87%, 53%, 65%) | — | |
| HSV | hsv(337, 87%, 35%) | — | |
| HWB | hwb(337 5% 65%) | color: hwb(337 5% 65%) | |
| OKLCH | oklch(0.3109 0.1111 3.98) | color: oklch(0.3109 0.1111 3.98) | |
| Lab | lab(18.38 36.17 2.88) | color: lab(18.38 36.17 2.88) | |
| LCH | lch(18.38 36.28 4.55) | color: lch(18.38 36.28 4.55) |
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)
#383823 — rgb(56, 56, 35)
Deuteranopia (Green-blind)
#3D4321 — rgb(61, 67, 33)
Tritanopia (Blue-blind)
#561D1C — rgb(86, 29, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 77%, 20%);
text
color: hsl(337, 77%, 20%);
border
border: 2px solid hsl(337, 77%, 20%);
gradient light
background: linear-gradient(to right, hsl(337, 77%, 40%), hsl(337, 77%, 20%));
gradient dark
background: linear-gradient(to right, hsl(337, 77%, 20%), hsl(337, 77%, 0%))
hex
background-color: #5A0C2A;
tailwind
bg-[hsl(337,77%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 77%, 20%, 0.4);
css variable
--color-primary: hsl(337, 77%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 77%, 20%)?
HEX: #5A0C2A | RGB: rgb(90, 12, 42) | CMYK: 0%, 87%, 53%, 65% | HSV: 337°, 87%, 35%. Copy any format from the conversion table above.
What colors go well with #5A0C2A?
The complementary color is HSL(157, 77%, 20%). For a triadic harmony, use hues 337°, 97°, and 217°. For analogous combinations, try hues 307° and 7°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(337, 77%, 20%) in CSS?
As HSL: color: hsl(337, 77%, 20%); — As HEX: color: #5A0C2A; — As RGB: color: rgb(90, 12, 42); — Tailwind CSS: bg-[hsl(337,77%,20%)] — CSS variable: --color-primary: hsl(337, 77%, 20%);