HSL(340, 80%, 8%)
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(340,80%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 80%, 8%) | color: hsl(340, 80%, 8%) | |
| HEX | #25040F | color: #25040F | |
| RGB | rgb(37, 4, 15) | color: rgb(37, 4, 15) | |
| CMYK | cmyk(0%, 89%, 59%, 85%) | — | |
| HSV | hsv(340, 89%, 15%) | — | |
| HWB | hwb(340 2% 85%) | color: hwb(340 2% 85%) | |
| OKLCH | oklch(0.1803 0.0588 3.2) | color: oklch(0.1803 0.0588 3.2) | |
| Lab | lab(4.65 16.48 0.81) | color: lab(4.65 16.48 0.81) | |
| LCH | lch(4.65 16.5 2.81) | color: lch(4.65 16.5 2.81) |
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)
#17160C — rgb(23, 22, 12)
Deuteranopia (Green-blind)
#191B0C — rgb(25, 27, 12)
Tritanopia (Blue-blind)
#230A0A — rgb(35, 10, 10)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 80%, 8%);
text
color: hsl(340, 80%, 8%);
border
border: 2px solid hsl(340, 80%, 8%);
gradient light
background: linear-gradient(to right, hsl(340, 80%, 28%), hsl(340, 80%, 8%));
gradient dark
background: linear-gradient(to right, hsl(340, 80%, 8%), hsl(340, 80%, 0%))
hex
background-color: #25040F;
tailwind
bg-[hsl(340,80%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 80%, 8%, 0.4);
css variable
--color-primary: hsl(340, 80%, 8%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 80%, 8%)?
HEX: #25040F | RGB: rgb(37, 4, 15) | CMYK: 0%, 89%, 59%, 85% | HSV: 340°, 89%, 15%. Copy any format from the conversion table above.
What colors go well with #25040F?
The complementary color is HSL(160, 80%, 8%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(340, 80%, 8%) in CSS?
As HSL: color: hsl(340, 80%, 8%); — As HEX: color: #25040F; — As RGB: color: rgb(37, 4, 15); — Tailwind CSS: bg-[hsl(340,80%,8%)] — CSS variable: --color-primary: hsl(340, 80%, 8%);