HSL(336, 24%, 21%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(336,24%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(336, 24%, 21%) | color: hsl(336, 24%, 21%) | |
| HEX | #422933 | color: #422933 | |
| RGB | rgb(66, 41, 51) | color: rgb(66, 41, 51) | |
| CMYK | cmyk(0%, 38%, 23%, 74%) | — | |
| HSV | hsv(336, 38%, 26%) | — | |
| HWB | hwb(336 16% 74%) | color: hwb(336 16% 74%) | |
| OKLCH | oklch(0.3154 0.0403 354.02) | color: oklch(0.3154 0.0403 354.02) | |
| Lab | lab(19.98 13.42 -1.66) | color: lab(19.98 13.42 -1.66) | |
| LCH | lch(19.98 13.52 352.95) | color: lch(19.98 13.52 352.95) |
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)
#373731 — rgb(55, 55, 49)
Deuteranopia (Green-blind)
#393B30 — rgb(57, 59, 48)
Tritanopia (Blue-blind)
#412F2E — rgb(65, 47, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(336, 24%, 21%);
text
color: hsl(336, 24%, 21%);
border
border: 2px solid hsl(336, 24%, 21%);
gradient light
background: linear-gradient(to right, hsl(336, 24%, 41%), hsl(336, 24%, 21%));
gradient dark
background: linear-gradient(to right, hsl(336, 24%, 21%), hsl(336, 24%, 1%))
hex
background-color: #422933;
tailwind
bg-[hsl(336,24%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(336, 24%, 21%, 0.4);
css variable
--color-primary: hsl(336, 24%, 21%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(336, 24%, 21%)?
HEX: #422933 | RGB: rgb(66, 41, 51) | CMYK: 0%, 38%, 23%, 74% | HSV: 336°, 38%, 26%. Copy any format from the conversion table above.
What colors go well with #422933?
The complementary color is HSL(156, 24%, 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, 24%, 21%) in CSS?
As HSL: color: hsl(336, 24%, 21%); — As HEX: color: #422933; — As RGB: color: rgb(66, 41, 51); — Tailwind CSS: bg-[hsl(336,24%,21%)] — CSS variable: --color-primary: hsl(336, 24%, 21%);