HSL(321, 20%, 28%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(321,20%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 20%, 28%) | color: hsl(321, 20%, 28%) | |
| HEX | #56394C | color: #56394C | |
| RGB | rgb(86, 57, 76) | color: rgb(86, 57, 76) | |
| CMYK | cmyk(0%, 34%, 12%, 66%) | — | |
| HSV | hsv(321, 34%, 34%) | — | |
| HWB | hwb(321 22% 66%) | color: hwb(321 22% 66%) | |
| OKLCH | oklch(0.385 0.0502 340.27) | color: oklch(0.385 0.0502 340.27) | |
| Lab | lab(27.92 16.27 -6.39) | color: lab(27.92 16.27 -6.39) | |
| LCH | lch(27.92 17.48 338.56) | color: lch(27.92 17.48 338.56) |
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)
#494947 — rgb(73, 73, 71)
Deuteranopia (Green-blind)
#4B4D46 — rgb(75, 77, 70)
Tritanopia (Blue-blind)
#554443 — rgb(85, 68, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 20%, 28%);
text
color: hsl(321, 20%, 28%);
border
border: 2px solid hsl(321, 20%, 28%);
gradient light
background: linear-gradient(to right, hsl(321, 20%, 48%), hsl(321, 20%, 28%));
gradient dark
background: linear-gradient(to right, hsl(321, 20%, 28%), hsl(321, 20%, 8%))
hex
background-color: #56394C;
tailwind
bg-[hsl(321,20%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 20%, 28%, 0.4);
css variable
--color-primary: hsl(321, 20%, 28%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(321, 20%, 28%)?
HEX: #56394C | RGB: rgb(86, 57, 76) | CMYK: 0%, 34%, 12%, 66% | HSV: 321°, 34%, 34%. Copy any format from the conversion table above.
What colors go well with #56394C?
The complementary color is HSL(141, 20%, 28%). 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, 20%, 28%) in CSS?
As HSL: color: hsl(321, 20%, 28%); — As HEX: color: #56394C; — As RGB: color: rgb(86, 57, 76); — Tailwind CSS: bg-[hsl(321,20%,28%)] — CSS variable: --color-primary: hsl(321, 20%, 28%);