HSL(321, 52%, 17%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(321,52%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 52%, 17%) | color: hsl(321, 52%, 17%) | |
| HEX | #421532 | color: #421532 | |
| RGB | rgb(66, 21, 50) | color: rgb(66, 21, 50) | |
| CMYK | cmyk(0%, 68%, 24%, 74%) | — | |
| HSV | hsv(321, 68%, 26%) | — | |
| HWB | hwb(321 8% 74%) | color: hwb(321 8% 74%) | |
| OKLCH | oklch(0.2785 0.0798 343.96) | color: oklch(0.2785 0.0798 343.96) | |
| Lab | lab(15.09 25.59 -8.28) | color: lab(15.09 25.59 -8.28) | |
| LCH | lch(15.09 26.9 342.07) | color: lch(15.09 26.9 342.07) |
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)
#2F2E2B — rgb(47, 46, 43)
Deuteranopia (Green-blind)
#313529 — rgb(49, 53, 41)
Tritanopia (Blue-blind)
#402524 — rgb(64, 37, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 52%, 17%);
text
color: hsl(321, 52%, 17%);
border
border: 2px solid hsl(321, 52%, 17%);
gradient light
background: linear-gradient(to right, hsl(321, 52%, 37%), hsl(321, 52%, 17%));
gradient dark
background: linear-gradient(to right, hsl(321, 52%, 17%), hsl(321, 52%, 0%))
hex
background-color: #421532;
tailwind
bg-[hsl(321,52%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 52%, 17%, 0.4);
css variable
--color-primary: hsl(321, 52%, 17%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(321, 52%, 17%)?
HEX: #421532 | RGB: rgb(66, 21, 50) | CMYK: 0%, 68%, 24%, 74% | HSV: 321°, 68%, 26%. Copy any format from the conversion table above.
What colors go well with #421532?
The complementary color is HSL(141, 52%, 17%). 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, 52%, 17%) in CSS?
As HSL: color: hsl(321, 52%, 17%); — As HEX: color: #421532; — As RGB: color: rgb(66, 21, 50); — Tailwind CSS: bg-[hsl(321,52%,17%)] — CSS variable: --color-primary: hsl(321, 52%, 17%);