HSL(321, 65%, 42%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(321,65%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 65%, 42%) | color: hsl(321, 65%, 42%) | |
| HEX | #B12580 | color: #B12580 | |
| RGB | rgb(177, 37, 128) | color: rgb(177, 37, 128) | |
| CMYK | cmyk(0%, 79%, 28%, 31%) | — | |
| HSV | hsv(321, 79%, 69%) | — | |
| HWB | hwb(321 14% 31%) | color: hwb(321 14% 31%) | |
| OKLCH | oklch(0.5222 0.1941 346.31) | color: oklch(0.5222 0.1941 346.31) | |
| Lab | lab(41.58 61.98 -17.34) | color: lab(41.58 61.98 -17.34) | |
| LCH | lch(41.58 64.36 344.37) | color: lch(41.58 64.36 344.37) |
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)
#74736A — rgb(116, 115, 106)
Deuteranopia (Green-blind)
#7D8765 — rgb(125, 135, 101)
Tritanopia (Blue-blind)
#AA5955 — rgb(170, 89, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 65%, 42%);
text
color: hsl(321, 65%, 42%);
border
border: 2px solid hsl(321, 65%, 42%);
gradient light
background: linear-gradient(to right, hsl(321, 65%, 62%), hsl(321, 65%, 42%));
gradient dark
background: linear-gradient(to right, hsl(321, 65%, 42%), hsl(321, 65%, 22%))
hex
background-color: #B12580;
tailwind
bg-[hsl(321,65%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 65%, 42%, 0.4);
css variable
--color-primary: hsl(321, 65%, 42%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(321, 65%, 42%)?
HEX: #B12580 | RGB: rgb(177, 37, 128) | CMYK: 0%, 79%, 28%, 31% | HSV: 321°, 79%, 69%. Copy any format from the conversion table above.
What colors go well with #B12580?
The complementary color is HSL(141, 65%, 42%). 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, 65%, 42%) in CSS?
As HSL: color: hsl(321, 65%, 42%); — As HEX: color: #B12580; — As RGB: color: rgb(177, 37, 128); — Tailwind CSS: bg-[hsl(321,65%,42%)] — CSS variable: --color-primary: hsl(321, 65%, 42%);