HSL(321, 28%, 21%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(321,28%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 28%, 21%) | color: hsl(321, 28%, 21%) | |
| HEX | #45273A | color: #45273A | |
| RGB | rgb(69, 39, 58) | color: rgb(69, 39, 58) | |
| CMYK | cmyk(0%, 43%, 16%, 73%) | — | |
| HSV | hsv(322, 43%, 27%) | — | |
| HWB | hwb(322 15% 73%) | color: hwb(322 15% 73%) | |
| OKLCH | oklch(0.3183 0.0536 342.06) | color: oklch(0.3183 0.0536 342.06) | |
| Lab | lab(20.13 17.36 -6.22) | color: lab(20.13 17.36 -6.22) | |
| LCH | lch(20.13 18.44 340.29) | color: lch(20.13 18.44 340.29) |
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)
#383835 — rgb(56, 56, 53)
Deuteranopia (Green-blind)
#3A3C34 — rgb(58, 60, 52)
Tritanopia (Blue-blind)
#443231 — rgb(68, 50, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 28%, 21%);
text
color: hsl(321, 28%, 21%);
border
border: 2px solid hsl(321, 28%, 21%);
gradient light
background: linear-gradient(to right, hsl(321, 28%, 41%), hsl(321, 28%, 21%));
gradient dark
background: linear-gradient(to right, hsl(321, 28%, 21%), hsl(321, 28%, 1%))
hex
background-color: #45273A;
tailwind
bg-[hsl(321,28%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 28%, 21%, 0.4);
css variable
--color-primary: hsl(321, 28%, 21%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(321, 28%, 21%)?
HEX: #45273A | RGB: rgb(69, 39, 58) | CMYK: 0%, 43%, 16%, 73% | HSV: 322°, 43%, 27%. Copy any format from the conversion table above.
What colors go well with #45273A?
The complementary color is HSL(141, 28%, 21%). 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, 28%, 21%) in CSS?
As HSL: color: hsl(321, 28%, 21%); — As HEX: color: #45273A; — As RGB: color: rgb(69, 39, 58); — Tailwind CSS: bg-[hsl(321,28%,21%)] — CSS variable: --color-primary: hsl(321, 28%, 21%);