HSL(331, 94%, 21%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(331,94%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 94%, 21%) | color: hsl(331, 94%, 21%) | |
| HEX | #680334 | color: #680334 | |
| RGB | rgb(104, 3, 52) | color: rgb(104, 3, 52) | |
| CMYK | cmyk(0%, 97%, 50%, 59%) | — | |
| HSV | hsv(331, 97%, 41%) | — | |
| HWB | hwb(331 1% 59%) | color: hwb(331 1% 59%) | |
| OKLCH | oklch(0.337 0.1336 0.23) | color: oklch(0.337 0.1336 0.23) | |
| Lab | lab(21.05 43.33 0.03) | color: lab(21.05 43.33 0.03) | |
| LCH | lch(21.05 43.33 0.04) | color: lch(21.05 43.33 0.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)
#3C3B28 — rgb(60, 59, 40)
Deuteranopia (Green-blind)
#424A25 — rgb(66, 74, 37)
Tritanopia (Blue-blind)
#631F1D — rgb(99, 31, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 94%, 21%);
text
color: hsl(331, 94%, 21%);
border
border: 2px solid hsl(331, 94%, 21%);
gradient light
background: linear-gradient(to right, hsl(331, 94%, 41%), hsl(331, 94%, 21%));
gradient dark
background: linear-gradient(to right, hsl(331, 94%, 21%), hsl(331, 94%, 1%))
hex
background-color: #680334;
tailwind
bg-[hsl(331,94%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 94%, 21%, 0.4);
css variable
--color-primary: hsl(331, 94%, 21%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(331, 94%, 21%)?
HEX: #680334 | RGB: rgb(104, 3, 52) | CMYK: 0%, 97%, 50%, 59% | HSV: 331°, 97%, 41%. Copy any format from the conversion table above.
What colors go well with #680334?
The complementary color is HSL(151, 94%, 21%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(331, 94%, 21%) in CSS?
As HSL: color: hsl(331, 94%, 21%); — As HEX: color: #680334; — As RGB: color: rgb(104, 3, 52); — Tailwind CSS: bg-[hsl(331,94%,21%)] — CSS variable: --color-primary: hsl(331, 94%, 21%);