HSL(332, 43%, 21%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(332,43%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(332, 43%, 21%) | color: hsl(332, 43%, 21%) | |
| HEX | #4D1F34 | color: #4D1F34 | |
| RGB | rgb(77, 31, 52) | color: rgb(77, 31, 52) | |
| CMYK | cmyk(0%, 60%, 32%, 70%) | — | |
| HSV | hsv(333, 60%, 30%) | — | |
| HWB | hwb(333 12% 70%) | color: hwb(333 12% 70%) | |
| OKLCH | oklch(0.3136 0.0745 353.64) | color: oklch(0.3136 0.0745 353.64) | |
| Lab | lab(19.25 24.42 -3.24) | color: lab(19.25 24.42 -3.24) | |
| LCH | lch(19.25 24.63 352.44) | color: lch(19.25 24.63 352.44) |
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)
#39392F — rgb(57, 57, 47)
Deuteranopia (Green-blind)
#3C3F2E — rgb(60, 63, 46)
Tritanopia (Blue-blind)
#4B2B2A — rgb(75, 43, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(332, 43%, 21%);
text
color: hsl(332, 43%, 21%);
border
border: 2px solid hsl(332, 43%, 21%);
gradient light
background: linear-gradient(to right, hsl(332, 43%, 41%), hsl(332, 43%, 21%));
gradient dark
background: linear-gradient(to right, hsl(332, 43%, 21%), hsl(332, 43%, 1%))
hex
background-color: #4D1F34;
tailwind
bg-[hsl(332,43%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(332, 43%, 21%, 0.4);
css variable
--color-primary: hsl(332, 43%, 21%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(332, 43%, 21%)?
HEX: #4D1F34 | RGB: rgb(77, 31, 52) | CMYK: 0%, 60%, 32%, 70% | HSV: 333°, 60%, 30%. Copy any format from the conversion table above.
What colors go well with #4D1F34?
The complementary color is HSL(152, 43%, 21%). For a triadic harmony, use hues 332°, 92°, and 212°. For analogous combinations, try hues 302° and 2°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(332, 43%, 21%) in CSS?
As HSL: color: hsl(332, 43%, 21%); — As HEX: color: #4D1F34; — As RGB: color: rgb(77, 31, 52); — Tailwind CSS: bg-[hsl(332,43%,21%)] — CSS variable: --color-primary: hsl(332, 43%, 21%);