HSL(337, 56%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,56%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 56%, 20%) | color: hsl(337, 56%, 20%) | |
| HEX | #50162C | color: #50162C | |
| RGB | rgb(80, 22, 44) | color: rgb(80, 22, 44) | |
| CMYK | cmyk(0%, 73%, 45%, 69%) | — | |
| HSV | hsv(337, 73%, 31%) | — | |
| HWB | hwb(337 8% 69%) | color: hwb(337 8% 69%) | |
| OKLCH | oklch(0.3025 0.0893 0.66) | color: oklch(0.3025 0.0893 0.66) | |
| Lab | lab(17.74 29.19 0.26) | color: lab(17.74 29.19 0.26) | |
| LCH | lch(17.74 29.19 0.51) | color: lch(17.74 29.19 0.51) |
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)
#373627 — rgb(55, 54, 39)
Deuteranopia (Green-blind)
#3A3F25 — rgb(58, 63, 37)
Tritanopia (Blue-blind)
#4D2222 — rgb(77, 34, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 56%, 20%);
text
color: hsl(337, 56%, 20%);
border
border: 2px solid hsl(337, 56%, 20%);
gradient light
background: linear-gradient(to right, hsl(337, 56%, 40%), hsl(337, 56%, 20%));
gradient dark
background: linear-gradient(to right, hsl(337, 56%, 20%), hsl(337, 56%, 0%))
hex
background-color: #50162C;
tailwind
bg-[hsl(337,56%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 56%, 20%, 0.4);
css variable
--color-primary: hsl(337, 56%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 56%, 20%)?
HEX: #50162C | RGB: rgb(80, 22, 44) | CMYK: 0%, 73%, 45%, 69% | HSV: 337°, 73%, 31%. Copy any format from the conversion table above.
What colors go well with #50162C?
The complementary color is HSL(157, 56%, 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, 56%, 20%) in CSS?
As HSL: color: hsl(337, 56%, 20%); — As HEX: color: #50162C; — As RGB: color: rgb(80, 22, 44); — Tailwind CSS: bg-[hsl(337,56%,20%)] — CSS variable: --color-primary: hsl(337, 56%, 20%);