HSL(336, 44%, 21%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(336,44%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(336, 44%, 21%) | color: hsl(336, 44%, 21%) | |
| HEX | #4D1E31 | color: #4D1E31 | |
| RGB | rgb(77, 30, 49) | color: rgb(77, 30, 49) | |
| CMYK | cmyk(0%, 61%, 36%, 70%) | — | |
| HSV | hsv(336, 61%, 30%) | — | |
| HWB | hwb(336 12% 70%) | color: hwb(336 12% 70%) | |
| OKLCH | oklch(0.3108 0.0747 356.98) | color: oklch(0.3108 0.0747 356.98) | |
| Lab | lab(18.92 24.54 -1.62) | color: lab(18.92 24.54 -1.62) | |
| LCH | lch(18.92 24.59 356.22) | color: lch(18.92 24.59 356.22) |
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)
#39382C — rgb(57, 56, 44)
Deuteranopia (Green-blind)
#3B3F2B — rgb(59, 63, 43)
Tritanopia (Blue-blind)
#4B2928 — rgb(75, 41, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(336, 44%, 21%);
text
color: hsl(336, 44%, 21%);
border
border: 2px solid hsl(336, 44%, 21%);
gradient light
background: linear-gradient(to right, hsl(336, 44%, 41%), hsl(336, 44%, 21%));
gradient dark
background: linear-gradient(to right, hsl(336, 44%, 21%), hsl(336, 44%, 1%))
hex
background-color: #4D1E31;
tailwind
bg-[hsl(336,44%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(336, 44%, 21%, 0.4);
css variable
--color-primary: hsl(336, 44%, 21%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(336, 44%, 21%)?
HEX: #4D1E31 | RGB: rgb(77, 30, 49) | CMYK: 0%, 61%, 36%, 70% | HSV: 336°, 61%, 30%. Copy any format from the conversion table above.
What colors go well with #4D1E31?
The complementary color is HSL(156, 44%, 21%). For a triadic harmony, use hues 336°, 96°, and 216°. For analogous combinations, try hues 306° and 6°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(336, 44%, 21%) in CSS?
As HSL: color: hsl(336, 44%, 21%); — As HEX: color: #4D1E31; — As RGB: color: rgb(77, 30, 49); — Tailwind CSS: bg-[hsl(336,44%,21%)] — CSS variable: --color-primary: hsl(336, 44%, 21%);