HSL(320, 94%, 17%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(320,94%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(320, 94%, 17%) | color: hsl(320, 94%, 17%) | |
| HEX | #540339 | color: #540339 | |
| RGB | rgb(84, 3, 57) | color: rgb(84, 3, 57) | |
| CMYK | cmyk(0%, 96%, 32%, 67%) | — | |
| HSV | hsv(320, 96%, 33%) | — | |
| HWB | hwb(320 1% 67%) | color: hwb(320 1% 67%) | |
| OKLCH | oklch(0.2984 0.122 346.89) | color: oklch(0.2984 0.122 346.89) | |
| Lab | lab(16.73 38.84 -10.45) | color: lab(16.73 38.84 -10.45) | |
| LCH | lch(16.73 40.22 344.94) | color: lch(16.73 40.22 344.94) |
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)
#31302C — rgb(49, 48, 44)
Deuteranopia (Green-blind)
#363C29 — rgb(54, 60, 41)
Tritanopia (Blue-blind)
#50221F — rgb(80, 34, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(320, 94%, 17%);
text
color: hsl(320, 94%, 17%);
border
border: 2px solid hsl(320, 94%, 17%);
gradient light
background: linear-gradient(to right, hsl(320, 94%, 37%), hsl(320, 94%, 17%));
gradient dark
background: linear-gradient(to right, hsl(320, 94%, 17%), hsl(320, 94%, 0%))
hex
background-color: #540339;
tailwind
bg-[hsl(320,94%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(320, 94%, 17%, 0.4);
css variable
--color-primary: hsl(320, 94%, 17%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(320, 94%, 17%)?
HEX: #540339 | RGB: rgb(84, 3, 57) | CMYK: 0%, 96%, 32%, 67% | HSV: 320°, 96%, 33%. Copy any format from the conversion table above.
What colors go well with #540339?
The complementary color is HSL(140, 94%, 17%). 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, 94%, 17%) in CSS?
As HSL: color: hsl(320, 94%, 17%); — As HEX: color: #540339; — As RGB: color: rgb(84, 3, 57); — Tailwind CSS: bg-[hsl(320,94%,17%)] — CSS variable: --color-primary: hsl(320, 94%, 17%);