HSL(337, 90%, 18%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,90%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 90%, 18%) | color: hsl(337, 90%, 18%) | |
| HEX | #570524 | color: #570524 | |
| RGB | rgb(87, 5, 36) | color: rgb(87, 5, 36) | |
| CMYK | cmyk(0%, 94%, 59%, 66%) | — | |
| HSV | hsv(337, 94%, 34%) | — | |
| HWB | hwb(337 2% 66%) | color: hwb(337 2% 66%) | |
| OKLCH | oklch(0.2976 0.1131 6.39) | color: oklch(0.2976 0.1131 6.39) | |
| Lab | lab(16.81 36.79 4.89) | color: lab(16.81 36.79 4.89) | |
| LCH | lch(16.81 37.11 7.57) | color: lch(16.81 37.11 7.57) |
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)
#33331C — rgb(51, 51, 28)
Deuteranopia (Green-blind)
#383E1B — rgb(56, 62, 27)
Tritanopia (Blue-blind)
#531715 — rgb(83, 23, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 90%, 18%);
text
color: hsl(337, 90%, 18%);
border
border: 2px solid hsl(337, 90%, 18%);
gradient light
background: linear-gradient(to right, hsl(337, 90%, 38%), hsl(337, 90%, 18%));
gradient dark
background: linear-gradient(to right, hsl(337, 90%, 18%), hsl(337, 90%, 0%))
hex
background-color: #570524;
tailwind
bg-[hsl(337,90%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 90%, 18%, 0.4);
css variable
--color-primary: hsl(337, 90%, 18%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 90%, 18%)?
HEX: #570524 | RGB: rgb(87, 5, 36) | CMYK: 0%, 94%, 59%, 66% | HSV: 337°, 94%, 34%. Copy any format from the conversion table above.
What colors go well with #570524?
The complementary color is HSL(157, 90%, 18%). 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, 90%, 18%) in CSS?
As HSL: color: hsl(337, 90%, 18%); — As HEX: color: #570524; — As RGB: color: rgb(87, 5, 36); — Tailwind CSS: bg-[hsl(337,90%,18%)] — CSS variable: --color-primary: hsl(337, 90%, 18%);