HSL(340, 21%, 14%)
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,21%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 21%, 14%) | color: hsl(340, 21%, 14%) | |
| HEX | #2B1C21 | color: #2B1C21 | |
| RGB | rgb(43, 28, 33) | color: rgb(43, 28, 33) | |
| CMYK | cmyk(0%, 35%, 23%, 83%) | — | |
| HSV | hsv(340, 35%, 17%) | — | |
| HWB | hwb(340 11% 83%) | color: hwb(340 11% 83%) | |
| OKLCH | oklch(0.2473 0.0251 357.37) | color: oklch(0.2473 0.0251 357.37) | |
| Lab | lab(12.31 8.36 -0.48) | color: lab(12.31 8.36 -0.48) | |
| LCH | lch(12.31 8.37 356.71) | color: lch(12.31 8.37 356.71) |
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)
#252420 — rgb(37, 36, 32)
Deuteranopia (Green-blind)
#252720 — rgb(37, 39, 32)
Tritanopia (Blue-blind)
#2A1F1F — rgb(42, 31, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 21%, 14%);
text
color: hsl(340, 21%, 14%);
border
border: 2px solid hsl(340, 21%, 14%);
gradient light
background: linear-gradient(to right, hsl(340, 21%, 34%), hsl(340, 21%, 14%));
gradient dark
background: linear-gradient(to right, hsl(340, 21%, 14%), hsl(340, 21%, 0%))
hex
background-color: #2B1C21;
tailwind
bg-[hsl(340,21%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 21%, 14%, 0.4);
css variable
--color-primary: hsl(340, 21%, 14%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 21%, 14%)?
HEX: #2B1C21 | RGB: rgb(43, 28, 33) | CMYK: 0%, 35%, 23%, 83% | HSV: 340°, 35%, 17%. Copy any format from the conversion table above.
What colors go well with #2B1C21?
The complementary color is HSL(160, 21%, 14%). 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, 21%, 14%) in CSS?
As HSL: color: hsl(340, 21%, 14%); — As HEX: color: #2B1C21; — As RGB: color: rgb(43, 28, 33); — Tailwind CSS: bg-[hsl(340,21%,14%)] — CSS variable: --color-primary: hsl(340, 21%, 14%);