HSL(331, 10%, 16%)
Grayish Pink — Pink color
Adjust Color
Color Information
Color Name
Grayish Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(331,10%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 10%, 16%) | color: hsl(331, 10%, 16%) | |
| HEX | #2D2529 | color: #2D2529 | |
| RGB | rgb(45, 37, 41) | color: rgb(45, 37, 41) | |
| CMYK | cmyk(0%, 18%, 9%, 82%) | — | |
| HSV | hsv(330, 18%, 18%) | — | |
| HWB | hwb(330 15% 82%) | color: hwb(330 15% 82%) | |
| OKLCH | oklch(0.2751 0.0139 346.41) | color: oklch(0.2751 0.0139 346.41) | |
| Lab | lab(15.7 4.63 -1.25) | color: lab(15.7 4.63 -1.25) | |
| LCH | lch(15.7 4.8 344.89) | color: lch(15.7 4.8 344.89) |
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)
#2A2928 — rgb(42, 41, 40)
Deuteranopia (Green-blind)
#2A2B28 — rgb(42, 43, 40)
Tritanopia (Blue-blind)
#2D2727 — rgb(45, 39, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 10%, 16%);
text
color: hsl(331, 10%, 16%);
border
border: 2px solid hsl(331, 10%, 16%);
gradient light
background: linear-gradient(to right, hsl(331, 10%, 36%), hsl(331, 10%, 16%));
gradient dark
background: linear-gradient(to right, hsl(331, 10%, 16%), hsl(331, 10%, 0%))
hex
background-color: #2D2529;
tailwind
bg-[hsl(331,10%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 10%, 16%, 0.4);
css variable
--color-primary: hsl(331, 10%, 16%);
Related Colors
Use Cases for Grayish Pink
Frequently Asked Questions
What are all the color codes for HSL(331, 10%, 16%)?
HEX: #2D2529 | RGB: rgb(45, 37, 41) | CMYK: 0%, 18%, 9%, 82% | HSV: 330°, 18%, 18%. Copy any format from the conversion table above.
What colors go well with #2D2529?
The complementary color is HSL(151, 10%, 16%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(331, 10%, 16%) in CSS?
As HSL: color: hsl(331, 10%, 16%); — As HEX: color: #2D2529; — As RGB: color: rgb(45, 37, 41); — Tailwind CSS: bg-[hsl(331,10%,16%)] — CSS variable: --color-primary: hsl(331, 10%, 16%);