HSL(320, 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(320,40%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(320, 40%, 12%) | color: hsl(320, 40%, 12%) | |
| HEX | #2B1223 | color: #2B1223 | |
| RGB | rgb(43, 18, 35) | color: rgb(43, 18, 35) | |
| CMYK | cmyk(0%, 58%, 19%, 83%) | — | |
| HSV | hsv(319, 58%, 17%) | — | |
| HWB | hwb(319 7% 83%) | color: hwb(319 7% 83%) | |
| OKLCH | oklch(0.2265 0.0492 340.64) | color: oklch(0.2265 0.0492 340.64) | |
| Lab | lab(9.54 15.76 -6.1) | color: lab(9.54 15.76 -6.1) | |
| LCH | lch(9.54 16.9 338.84) | color: lch(9.54 16.9 338.84) |
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)
#20201F — rgb(32, 32, 31)
Deuteranopia (Green-blind)
#22241E — rgb(34, 36, 30)
Tritanopia (Blue-blind)
#2A1C1B — rgb(42, 28, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(320, 40%, 12%);
text
color: hsl(320, 40%, 12%);
border
border: 2px solid hsl(320, 40%, 12%);
gradient light
background: linear-gradient(to right, hsl(320, 40%, 32%), hsl(320, 40%, 12%));
gradient dark
background: linear-gradient(to right, hsl(320, 40%, 12%), hsl(320, 40%, 0%))
hex
background-color: #2B1223;
tailwind
bg-[hsl(320,40%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(320, 40%, 12%, 0.4);
css variable
--color-primary: hsl(320, 40%, 12%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(320, 40%, 12%)?
HEX: #2B1223 | RGB: rgb(43, 18, 35) | CMYK: 0%, 58%, 19%, 83% | HSV: 319°, 58%, 17%. Copy any format from the conversion table above.
What colors go well with #2B1223?
The complementary color is HSL(140, 40%, 12%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(320, 40%, 12%) in CSS?
As HSL: color: hsl(320, 40%, 12%); — As HEX: color: #2B1223; — As RGB: color: rgb(43, 18, 35); — Tailwind CSS: bg-[hsl(320,40%,12%)] — CSS variable: --color-primary: hsl(320, 40%, 12%);