HSL(338, 80%, 32%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,80%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 80%, 32%) | color: hsl(338, 80%, 32%) | |
| HEX | #931040 | color: #931040 | |
| RGB | rgb(147, 16, 64) | color: rgb(147, 16, 64) | |
| CMYK | cmyk(0%, 89%, 56%, 42%) | — | |
| HSV | hsv(338, 89%, 58%) | — | |
| HWB | hwb(338 6% 42%) | color: hwb(338 6% 42%) | |
| OKLCH | oklch(0.4322 0.1632 7.45) | color: oklch(0.4322 0.1632 7.45) | |
| Lab | lab(31.68 53.04 8.29) | color: lab(31.68 53.04 8.29) | |
| LCH | lch(31.68 53.68 8.88) | color: lch(31.68 53.68 8.88) |
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)
#5A5934 — rgb(90, 89, 52)
Deuteranopia (Green-blind)
#626C32 — rgb(98, 108, 50)
Tritanopia (Blue-blind)
#8C2B29 — rgb(140, 43, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 80%, 32%);
text
color: hsl(338, 80%, 32%);
border
border: 2px solid hsl(338, 80%, 32%);
gradient light
background: linear-gradient(to right, hsl(338, 80%, 52%), hsl(338, 80%, 32%));
gradient dark
background: linear-gradient(to right, hsl(338, 80%, 32%), hsl(338, 80%, 12%))
hex
background-color: #931040;
tailwind
bg-[hsl(338,80%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 80%, 32%, 0.4);
css variable
--color-primary: hsl(338, 80%, 32%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 80%, 32%)?
HEX: #931040 | RGB: rgb(147, 16, 64) | CMYK: 0%, 89%, 56%, 42% | HSV: 338°, 89%, 58%. Copy any format from the conversion table above.
What colors go well with #931040?
The complementary color is HSL(158, 80%, 32%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 80%, 32%) in CSS?
As HSL: color: hsl(338, 80%, 32%); — As HEX: color: #931040; — As RGB: color: rgb(147, 16, 64); — Tailwind CSS: bg-[hsl(338,80%,32%)] — CSS variable: --color-primary: hsl(338, 80%, 32%);