HSL(328, 20%, 16%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(328,20%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(328, 20%, 16%) | color: hsl(328, 20%, 16%) | |
| HEX | #312129 | color: #312129 | |
| RGB | rgb(49, 33, 41) | color: rgb(49, 33, 41) | |
| CMYK | cmyk(0%, 33%, 16%, 81%) | — | |
| HSV | hsv(330, 33%, 19%) | — | |
| HWB | hwb(330 13% 81%) | color: hwb(330 13% 81%) | |
| OKLCH | oklch(0.2705 0.028 347.68) | color: oklch(0.2705 0.028 347.68) | |
| Lab | lab(14.96 9.28 -2.29) | color: lab(14.96 9.28 -2.29) | |
| LCH | lch(14.96 9.56 346.14) | color: lch(14.96 9.56 346.14) |
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)
#2A2A27 — rgb(42, 42, 39)
Deuteranopia (Green-blind)
#2B2C27 — rgb(43, 44, 39)
Tritanopia (Blue-blind)
#302625 — rgb(48, 38, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(328, 20%, 16%);
text
color: hsl(328, 20%, 16%);
border
border: 2px solid hsl(328, 20%, 16%);
gradient light
background: linear-gradient(to right, hsl(328, 20%, 36%), hsl(328, 20%, 16%));
gradient dark
background: linear-gradient(to right, hsl(328, 20%, 16%), hsl(328, 20%, 0%))
hex
background-color: #312129;
tailwind
bg-[hsl(328,20%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(328, 20%, 16%, 0.4);
css variable
--color-primary: hsl(328, 20%, 16%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(328, 20%, 16%)?
HEX: #312129 | RGB: rgb(49, 33, 41) | CMYK: 0%, 33%, 16%, 81% | HSV: 330°, 33%, 19%. Copy any format from the conversion table above.
What colors go well with #312129?
The complementary color is HSL(148, 20%, 16%). For a triadic harmony, use hues 328°, 88°, and 208°. For analogous combinations, try hues 298° and 358°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(328, 20%, 16%) in CSS?
As HSL: color: hsl(328, 20%, 16%); — As HEX: color: #312129; — As RGB: color: rgb(49, 33, 41); — Tailwind CSS: bg-[hsl(328,20%,16%)] — CSS variable: --color-primary: hsl(328, 20%, 16%);