HSL(342, 14%, 20%)
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(342,14%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 14%, 20%) | color: hsl(342, 14%, 20%) | |
| HEX | #3A2C30 | color: #3A2C30 | |
| RGB | rgb(58, 44, 48) | color: rgb(58, 44, 48) | |
| CMYK | cmyk(0%, 24%, 17%, 77%) | — | |
| HSV | hsv(343, 24%, 23%) | — | |
| HWB | hwb(343 17% 77%) | color: hwb(343 17% 77%) | |
| OKLCH | oklch(0.3105 0.0216 359.49) | color: oklch(0.3105 0.0216 359.49) | |
| Lab | lab(19.7 7.23 -0.11) | color: lab(19.7 7.23 -0.11) | |
| LCH | lch(19.7 7.23 359.13) | color: lch(19.7 7.23 359.13) |
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)
#34342F — rgb(52, 52, 47)
Deuteranopia (Green-blind)
#35362F — rgb(53, 54, 47)
Tritanopia (Blue-blind)
#392E2E — rgb(57, 46, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 14%, 20%);
text
color: hsl(342, 14%, 20%);
border
border: 2px solid hsl(342, 14%, 20%);
gradient light
background: linear-gradient(to right, hsl(342, 14%, 40%), hsl(342, 14%, 20%));
gradient dark
background: linear-gradient(to right, hsl(342, 14%, 20%), hsl(342, 14%, 0%))
hex
background-color: #3A2C30;
tailwind
bg-[hsl(342,14%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 14%, 20%, 0.4);
css variable
--color-primary: hsl(342, 14%, 20%);
Related Colors
Use Cases for Grayish Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 14%, 20%)?
HEX: #3A2C30 | RGB: rgb(58, 44, 48) | CMYK: 0%, 24%, 17%, 77% | HSV: 343°, 24%, 23%. Copy any format from the conversion table above.
What colors go well with #3A2C30?
The complementary color is HSL(162, 14%, 20%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 14%, 20%) in CSS?
As HSL: color: hsl(342, 14%, 20%); — As HEX: color: #3A2C30; — As RGB: color: rgb(58, 44, 48); — Tailwind CSS: bg-[hsl(342,14%,20%)] — CSS variable: --color-primary: hsl(342, 14%, 20%);