HSL(336, 99%, 9%)
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(336,99%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(336, 99%, 9%) | color: hsl(336, 99%, 9%) | |
| HEX | #2E0012 | color: #2E0012 | |
| RGB | rgb(46, 0, 18) | color: rgb(46, 0, 18) | |
| CMYK | cmyk(0%, 100%, 61%, 82%) | — | |
| HSV | hsv(337, 100%, 18%) | — | |
| HWB | hwb(337 0% 82%) | color: hwb(337 0% 82%) | |
| OKLCH | oklch(0.1945 0.0785 2) | color: oklch(0.1945 0.0785 2) | |
| Lab | lab(5.64 24.29 0.75) | color: lab(5.64 24.29 0.75) | |
| LCH | lch(5.64 24.3 1.77) | color: lch(5.64 24.3 1.77) |
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)
#1A1A0E — rgb(26, 26, 14)
Deuteranopia (Green-blind)
#1D200D — rgb(29, 32, 13)
Tritanopia (Blue-blind)
#2C0A09 — rgb(44, 10, 9)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(336, 99%, 9%);
text
color: hsl(336, 99%, 9%);
border
border: 2px solid hsl(336, 99%, 9%);
gradient light
background: linear-gradient(to right, hsl(336, 99%, 29%), hsl(336, 99%, 9%));
gradient dark
background: linear-gradient(to right, hsl(336, 99%, 9%), hsl(336, 99%, 0%))
hex
background-color: #2E0012;
tailwind
bg-[hsl(336,99%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(336, 99%, 9%, 0.4);
css variable
--color-primary: hsl(336, 99%, 9%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(336, 99%, 9%)?
HEX: #2E0012 | RGB: rgb(46, 0, 18) | CMYK: 0%, 100%, 61%, 82% | HSV: 337°, 100%, 18%. Copy any format from the conversion table above.
What colors go well with #2E0012?
The complementary color is HSL(156, 99%, 9%). For a triadic harmony, use hues 336°, 96°, and 216°. For analogous combinations, try hues 306° and 6°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(336, 99%, 9%) in CSS?
As HSL: color: hsl(336, 99%, 9%); — As HEX: color: #2E0012; — As RGB: color: rgb(46, 0, 18); — Tailwind CSS: bg-[hsl(336,99%,9%)] — CSS variable: --color-primary: hsl(336, 99%, 9%);