HSL(321, 40%, 12%)
Very Dark Pink — Pink color
Adjust Color
Color Information
Color Name
Very Dark Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(321,40%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 40%, 12%) | color: hsl(321, 40%, 12%) | |
| HEX | #2B1222 | color: #2B1222 | |
| RGB | rgb(43, 18, 34) | color: rgb(43, 18, 34) | |
| CMYK | cmyk(0%, 58%, 21%, 83%) | — | |
| HSV | hsv(322, 58%, 17%) | — | |
| HWB | hwb(322 7% 83%) | color: hwb(322 7% 83%) | |
| OKLCH | oklch(0.226 0.0482 342.61) | color: oklch(0.226 0.0482 342.61) | |
| Lab | lab(9.5 15.56 -5.42) | color: lab(9.5 15.56 -5.42) | |
| LCH | lch(9.5 16.48 340.8) | color: lch(9.5 16.48 340.8) |
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)
#20201E — rgb(32, 32, 30)
Deuteranopia (Green-blind)
#22241D — rgb(34, 36, 29)
Tritanopia (Blue-blind)
#2A1B1A — rgb(42, 27, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 40%, 12%);
text
color: hsl(321, 40%, 12%);
border
border: 2px solid hsl(321, 40%, 12%);
gradient light
background: linear-gradient(to right, hsl(321, 40%, 32%), hsl(321, 40%, 12%));
gradient dark
background: linear-gradient(to right, hsl(321, 40%, 12%), hsl(321, 40%, 0%))
hex
background-color: #2B1222;
tailwind
bg-[hsl(321,40%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 40%, 12%, 0.4);
css variable
--color-primary: hsl(321, 40%, 12%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(321, 40%, 12%)?
HEX: #2B1222 | RGB: rgb(43, 18, 34) | CMYK: 0%, 58%, 21%, 83% | HSV: 322°, 58%, 17%. Copy any format from the conversion table above.
What colors go well with #2B1222?
The complementary color is HSL(141, 40%, 12%). For a triadic harmony, use hues 321°, 81°, and 201°. For analogous combinations, try hues 291° and 351°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(321, 40%, 12%) in CSS?
As HSL: color: hsl(321, 40%, 12%); — As HEX: color: #2B1222; — As RGB: color: rgb(43, 18, 34); — Tailwind CSS: bg-[hsl(321,40%,12%)] — CSS variable: --color-primary: hsl(321, 40%, 12%);