HSL(320, 70%, 41%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(320,70%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(320, 70%, 41%) | color: hsl(320, 70%, 41%) | |
| HEX | #B21F81 | color: #B21F81 | |
| RGB | rgb(178, 31, 129) | color: rgb(178, 31, 129) | |
| CMYK | cmyk(0%, 83%, 28%, 30%) | — | |
| HSV | hsv(320, 83%, 70%) | — | |
| HWB | hwb(320 12% 30%) | color: hwb(320 12% 30%) | |
| OKLCH | oklch(0.5204 0.2005 345.88) | color: oklch(0.5204 0.2005 345.88) | |
| Lab | lab(41.27 63.89 -18.42) | color: lab(41.27 63.89 -18.42) | |
| LCH | lch(41.27 66.49 343.92) | color: lch(41.27 66.49 343.92) |
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)
#727169 — rgb(114, 113, 105)
Deuteranopia (Green-blind)
#7B8664 — rgb(123, 134, 100)
Tritanopia (Blue-blind)
#AB5752 — rgb(171, 87, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(320, 70%, 41%);
text
color: hsl(320, 70%, 41%);
border
border: 2px solid hsl(320, 70%, 41%);
gradient light
background: linear-gradient(to right, hsl(320, 70%, 61%), hsl(320, 70%, 41%));
gradient dark
background: linear-gradient(to right, hsl(320, 70%, 41%), hsl(320, 70%, 21%))
hex
background-color: #B21F81;
tailwind
bg-[hsl(320,70%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(320, 70%, 41%, 0.4);
css variable
--color-primary: hsl(320, 70%, 41%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(320, 70%, 41%)?
HEX: #B21F81 | RGB: rgb(178, 31, 129) | CMYK: 0%, 83%, 28%, 30% | HSV: 320°, 83%, 70%. Copy any format from the conversion table above.
What colors go well with #B21F81?
The complementary color is HSL(140, 70%, 41%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(320, 70%, 41%) in CSS?
As HSL: color: hsl(320, 70%, 41%); — As HEX: color: #B21F81; — As RGB: color: rgb(178, 31, 129); — Tailwind CSS: bg-[hsl(320,70%,41%)] — CSS variable: --color-primary: hsl(320, 70%, 41%);