HSL(338, 40%, 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(338,40%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 40%, 14%) | color: hsl(338, 40%, 14%) | |
| HEX | #321520 | color: #321520 | |
| RGB | rgb(50, 21, 32) | color: rgb(50, 21, 32) | |
| CMYK | cmyk(0%, 58%, 36%, 80%) | — | |
| HSV | hsv(337, 58%, 20%) | — | |
| HWB | hwb(337 8% 80%) | color: hwb(337 8% 80%) | |
| OKLCH | oklch(0.2427 0.0492 357.36) | color: oklch(0.2427 0.0492 357.36) | |
| Lab | lab(11.41 16.23 -0.94) | color: lab(11.41 16.23 -0.94) | |
| LCH | lch(11.41 16.26 356.69) | color: lch(11.41 16.26 356.69) |
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)
#25251D — rgb(37, 37, 29)
Deuteranopia (Green-blind)
#27291D — rgb(39, 41, 29)
Tritanopia (Blue-blind)
#311B1B — rgb(49, 27, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 40%, 14%);
text
color: hsl(338, 40%, 14%);
border
border: 2px solid hsl(338, 40%, 14%);
gradient light
background: linear-gradient(to right, hsl(338, 40%, 34%), hsl(338, 40%, 14%));
gradient dark
background: linear-gradient(to right, hsl(338, 40%, 14%), hsl(338, 40%, 0%))
hex
background-color: #321520;
tailwind
bg-[hsl(338,40%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 40%, 14%, 0.4);
css variable
--color-primary: hsl(338, 40%, 14%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 40%, 14%)?
HEX: #321520 | RGB: rgb(50, 21, 32) | CMYK: 0%, 58%, 36%, 80% | HSV: 337°, 58%, 20%. Copy any format from the conversion table above.
What colors go well with #321520?
The complementary color is HSL(158, 40%, 14%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 40%, 14%) in CSS?
As HSL: color: hsl(338, 40%, 14%); — As HEX: color: #321520; — As RGB: color: rgb(50, 21, 32); — Tailwind CSS: bg-[hsl(338,40%,14%)] — CSS variable: --color-primary: hsl(338, 40%, 14%);