HSL(342, 34%, 7%)
Very Dark Pink — Pink color
Adjust Color
Color Information
Color Name
Very Dark Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,34%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 34%, 7%) | color: hsl(342, 34%, 7%) | |
| HEX | #180C0F | color: #180C0F | |
| RGB | rgb(24, 12, 15) | color: rgb(24, 12, 15) | |
| CMYK | cmyk(0%, 50%, 38%, 91%) | — | |
| HSV | hsv(345, 50%, 9%) | — | |
| HWB | hwb(345 5% 91%) | color: hwb(345 5% 91%) | |
| OKLCH | oklch(0.1728 0.0215 3.25) | color: oklch(0.1728 0.0215 3.25) | |
| Lab | lab(4.44 5.21 0.28) | color: lab(4.44 5.21 0.28) | |
| LCH | lch(4.44 5.22 3.08) | color: lch(4.44 5.22 3.08) |
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)
#13130E — rgb(19, 19, 14)
Deuteranopia (Green-blind)
#14140E — rgb(20, 20, 14)
Tritanopia (Blue-blind)
#170E0E — rgb(23, 14, 14)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 34%, 7%);
text
color: hsl(342, 34%, 7%);
border
border: 2px solid hsl(342, 34%, 7%);
gradient light
background: linear-gradient(to right, hsl(342, 34%, 27%), hsl(342, 34%, 7%));
gradient dark
background: linear-gradient(to right, hsl(342, 34%, 7%), hsl(342, 34%, 0%))
hex
background-color: #180C0F;
tailwind
bg-[hsl(342,34%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 34%, 7%, 0.4);
css variable
--color-primary: hsl(342, 34%, 7%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 34%, 7%)?
HEX: #180C0F | RGB: rgb(24, 12, 15) | CMYK: 0%, 50%, 38%, 91% | HSV: 345°, 50%, 9%. Copy any format from the conversion table above.
What colors go well with #180C0F?
The complementary color is HSL(162, 34%, 7%). 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, 34%, 7%) in CSS?
As HSL: color: hsl(342, 34%, 7%); — As HEX: color: #180C0F; — As RGB: color: rgb(24, 12, 15); — Tailwind CSS: bg-[hsl(342,34%,7%)] — CSS variable: --color-primary: hsl(342, 34%, 7%);