HSL(337, 29%, 18%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,29%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 29%, 18%) | color: hsl(337, 29%, 18%) | |
| HEX | #3B212B | color: #3B212B | |
| RGB | rgb(59, 33, 43) | color: rgb(59, 33, 43) | |
| CMYK | cmyk(0%, 44%, 27%, 77%) | — | |
| HSV | hsv(337, 44%, 23%) | — | |
| HWB | hwb(337 13% 77%) | color: hwb(337 13% 77%) | |
| OKLCH | oklch(0.2854 0.0428 355.53) | color: oklch(0.2854 0.0428 355.53) | |
| Lab | lab(16.46 14.19 -1.33) | color: lab(16.46 14.19 -1.33) | |
| LCH | lch(16.46 14.25 354.65) | color: lch(16.46 14.25 354.65) |
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)
#303029 — rgb(48, 48, 41)
Deuteranopia (Green-blind)
#313328 — rgb(49, 51, 40)
Tritanopia (Blue-blind)
#3A2726 — rgb(58, 39, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 29%, 18%);
text
color: hsl(337, 29%, 18%);
border
border: 2px solid hsl(337, 29%, 18%);
gradient light
background: linear-gradient(to right, hsl(337, 29%, 38%), hsl(337, 29%, 18%));
gradient dark
background: linear-gradient(to right, hsl(337, 29%, 18%), hsl(337, 29%, 0%))
hex
background-color: #3B212B;
tailwind
bg-[hsl(337,29%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 29%, 18%, 0.4);
css variable
--color-primary: hsl(337, 29%, 18%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 29%, 18%)?
HEX: #3B212B | RGB: rgb(59, 33, 43) | CMYK: 0%, 44%, 27%, 77% | HSV: 337°, 44%, 23%. Copy any format from the conversion table above.
What colors go well with #3B212B?
The complementary color is HSL(157, 29%, 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, 29%, 18%) in CSS?
As HSL: color: hsl(337, 29%, 18%); — As HEX: color: #3B212B; — As RGB: color: rgb(59, 33, 43); — Tailwind CSS: bg-[hsl(337,29%,18%)] — CSS variable: --color-primary: hsl(337, 29%, 18%);