HSL(321, 97%, 28%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(321,97%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 97%, 28%) | color: hsl(321, 97%, 28%) | |
| HEX | #8D025C | color: #8D025C | |
| RGB | rgb(141, 2, 92) | color: rgb(141, 2, 92) | |
| CMYK | cmyk(0%, 99%, 35%, 45%) | — | |
| HSV | hsv(321, 99%, 55%) | — | |
| HWB | hwb(321 1% 45%) | color: hwb(321 1% 45%) | |
| OKLCH | oklch(0.4252 0.1762 349.79) | color: oklch(0.4252 0.1762 349.79) | |
| Lab | lab(30.59 56.38 -11.94) | color: lab(30.59 56.38 -11.94) | |
| LCH | lch(30.59 57.63 348.04) | color: lch(30.59 57.63 348.04) |
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)
#515046 — rgb(81, 80, 70)
Deuteranopia (Green-blind)
#596341 — rgb(89, 99, 65)
Tritanopia (Blue-blind)
#863531 — rgb(134, 53, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 97%, 28%);
text
color: hsl(321, 97%, 28%);
border
border: 2px solid hsl(321, 97%, 28%);
gradient light
background: linear-gradient(to right, hsl(321, 97%, 48%), hsl(321, 97%, 28%));
gradient dark
background: linear-gradient(to right, hsl(321, 97%, 28%), hsl(321, 97%, 8%))
hex
background-color: #8D025C;
tailwind
bg-[hsl(321,97%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 97%, 28%, 0.4);
css variable
--color-primary: hsl(321, 97%, 28%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(321, 97%, 28%)?
HEX: #8D025C | RGB: rgb(141, 2, 92) | CMYK: 0%, 99%, 35%, 45% | HSV: 321°, 99%, 55%. Copy any format from the conversion table above.
What colors go well with #8D025C?
The complementary color is HSL(141, 97%, 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, 97%, 28%) in CSS?
As HSL: color: hsl(321, 97%, 28%); — As HEX: color: #8D025C; — As RGB: color: rgb(141, 2, 92); — Tailwind CSS: bg-[hsl(321,97%,28%)] — CSS variable: --color-primary: hsl(321, 97%, 28%);