HSL(343, 12%, 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(343,12%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(343, 12%, 16%) | color: hsl(343, 12%, 16%) | |
| HEX | #2E2427 | color: #2E2427 | |
| RGB | rgb(46, 36, 39) | color: rgb(46, 36, 39) | |
| CMYK | cmyk(0%, 22%, 15%, 82%) | — | |
| HSV | hsv(342, 22%, 18%) | — | |
| HWB | hwb(342 14% 82%) | color: hwb(342 14% 82%) | |
| OKLCH | oklch(0.273 0.016 358.29) | color: oklch(0.273 0.016 358.29) | |
| Lab | lab(15.43 5.35 -0.21) | color: lab(15.43 5.35 -0.21) | |
| LCH | lch(15.43 5.35 357.75) | color: lch(15.43 5.35 357.75) |
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)
#2A2A26 — rgb(42, 42, 38)
Deuteranopia (Green-blind)
#2A2B26 — rgb(42, 43, 38)
Tritanopia (Blue-blind)
#2E2626 — rgb(46, 38, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(343, 12%, 16%);
text
color: hsl(343, 12%, 16%);
border
border: 2px solid hsl(343, 12%, 16%);
gradient light
background: linear-gradient(to right, hsl(343, 12%, 36%), hsl(343, 12%, 16%));
gradient dark
background: linear-gradient(to right, hsl(343, 12%, 16%), hsl(343, 12%, 0%))
hex
background-color: #2E2427;
tailwind
bg-[hsl(343,12%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(343, 12%, 16%, 0.4);
css variable
--color-primary: hsl(343, 12%, 16%);
Related Colors
Use Cases for Grayish Pink
Frequently Asked Questions
What are all the color codes for HSL(343, 12%, 16%)?
HEX: #2E2427 | RGB: rgb(46, 36, 39) | CMYK: 0%, 22%, 15%, 82% | HSV: 342°, 22%, 18%. Copy any format from the conversion table above.
What colors go well with #2E2427?
The complementary color is HSL(163, 12%, 16%). For a triadic harmony, use hues 343°, 103°, and 223°. For analogous combinations, try hues 313° and 13°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(343, 12%, 16%) in CSS?
As HSL: color: hsl(343, 12%, 16%); — As HEX: color: #2E2427; — As RGB: color: rgb(46, 36, 39); — Tailwind CSS: bg-[hsl(343,12%,16%)] — CSS variable: --color-primary: hsl(343, 12%, 16%);