HSL(337, 57%, 16%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,57%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 57%, 16%) | color: hsl(337, 57%, 16%) | |
| HEX | #401223 | color: #401223 | |
| RGB | rgb(64, 18, 35) | color: rgb(64, 18, 35) | |
| CMYK | cmyk(0%, 72%, 45%, 75%) | — | |
| HSV | hsv(338, 72%, 25%) | — | |
| HWB | hwb(338 7% 75%) | color: hwb(338 7% 75%) | |
| OKLCH | oklch(0.2639 0.0739 0.64) | color: oklch(0.2639 0.0739 0.64) | |
| Lab | lab(13.5 24.17 0.21) | color: lab(13.5 24.17 0.21) | |
| LCH | lch(13.5 24.17 0.5) | color: lch(13.5 24.17 0.5) |
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)
#2C2C1F — rgb(44, 44, 31)
Deuteranopia (Green-blind)
#2F321E — rgb(47, 50, 30)
Tritanopia (Blue-blind)
#3E1C1B — rgb(62, 28, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 57%, 16%);
text
color: hsl(337, 57%, 16%);
border
border: 2px solid hsl(337, 57%, 16%);
gradient light
background: linear-gradient(to right, hsl(337, 57%, 36%), hsl(337, 57%, 16%));
gradient dark
background: linear-gradient(to right, hsl(337, 57%, 16%), hsl(337, 57%, 0%))
hex
background-color: #401223;
tailwind
bg-[hsl(337,57%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 57%, 16%, 0.4);
css variable
--color-primary: hsl(337, 57%, 16%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 57%, 16%)?
HEX: #401223 | RGB: rgb(64, 18, 35) | CMYK: 0%, 72%, 45%, 75% | HSV: 338°, 72%, 25%. Copy any format from the conversion table above.
What colors go well with #401223?
The complementary color is HSL(157, 57%, 16%). 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, 57%, 16%) in CSS?
As HSL: color: hsl(337, 57%, 16%); — As HEX: color: #401223; — As RGB: color: rgb(64, 18, 35); — Tailwind CSS: bg-[hsl(337,57%,16%)] — CSS variable: --color-primary: hsl(337, 57%, 16%);