HSL(337, 75%, 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(337,75%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 75%, 7%) | color: hsl(337, 75%, 7%) | |
| HEX | #1F040F | color: #1F040F | |
| RGB | rgb(31, 4, 15) | color: rgb(31, 4, 15) | |
| CMYK | cmyk(0%, 87%, 52%, 88%) | — | |
| HSV | hsv(336, 87%, 12%) | — | |
| HWB | hwb(336 2% 88%) | color: hwb(336 2% 88%) | |
| OKLCH | oklch(0.1672 0.0516 357.18) | color: oklch(0.1672 0.0516 357.18) | |
| Lab | lab(3.73 12.39 -0.65) | color: lab(3.73 12.39 -0.65) | |
| LCH | lch(3.73 12.41 357) | color: lch(3.73 12.41 357) |
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)
#13130C — rgb(19, 19, 12)
Deuteranopia (Green-blind)
#15170C — rgb(21, 23, 12)
Tritanopia (Blue-blind)
#1E0A0A — rgb(30, 10, 10)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 75%, 7%);
text
color: hsl(337, 75%, 7%);
border
border: 2px solid hsl(337, 75%, 7%);
gradient light
background: linear-gradient(to right, hsl(337, 75%, 27%), hsl(337, 75%, 7%));
gradient dark
background: linear-gradient(to right, hsl(337, 75%, 7%), hsl(337, 75%, 0%))
hex
background-color: #1F040F;
tailwind
bg-[hsl(337,75%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 75%, 7%, 0.4);
css variable
--color-primary: hsl(337, 75%, 7%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 75%, 7%)?
HEX: #1F040F | RGB: rgb(31, 4, 15) | CMYK: 0%, 87%, 52%, 88% | HSV: 336°, 87%, 12%. Copy any format from the conversion table above.
What colors go well with #1F040F?
The complementary color is HSL(157, 75%, 7%). For a triadic harmony, use hues 337°, 97°, and 217°. For analogous combinations, try hues 307° and 7°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(337, 75%, 7%) in CSS?
As HSL: color: hsl(337, 75%, 7%); — As HEX: color: #1F040F; — As RGB: color: rgb(31, 4, 15); — Tailwind CSS: bg-[hsl(337,75%,7%)] — CSS variable: --color-primary: hsl(337, 75%, 7%);