HSL(336, 71%, 40%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(336,71%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(336, 71%, 40%) | color: hsl(336, 71%, 40%) | |
| HEX | #AE1E58 | color: #AE1E58 | |
| RGB | rgb(174, 30, 88) | color: rgb(174, 30, 88) | |
| CMYK | cmyk(0%, 83%, 49%, 32%) | — | |
| HSV | hsv(336, 83%, 68%) | — | |
| HWB | hwb(336 12% 32%) | color: hwb(336 12% 32%) | |
| OKLCH | oklch(0.4974 0.1811 3.25) | color: oklch(0.4974 0.1811 3.25) | |
| Lab | lab(38.96 58.93 3.78) | color: lab(38.96 58.93 3.78) | |
| LCH | lch(38.96 59.05 3.67) | color: lch(38.96 59.05 3.67) |
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)
#706E4A — rgb(112, 110, 74)
Deuteranopia (Green-blind)
#788347 — rgb(120, 131, 71)
Tritanopia (Blue-blind)
#A73F3C — rgb(167, 63, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(336, 71%, 40%);
text
color: hsl(336, 71%, 40%);
border
border: 2px solid hsl(336, 71%, 40%);
gradient light
background: linear-gradient(to right, hsl(336, 71%, 60%), hsl(336, 71%, 40%));
gradient dark
background: linear-gradient(to right, hsl(336, 71%, 40%), hsl(336, 71%, 20%))
hex
background-color: #AE1E58;
tailwind
bg-[hsl(336,71%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(336, 71%, 40%, 0.4);
css variable
--color-primary: hsl(336, 71%, 40%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(336, 71%, 40%)?
HEX: #AE1E58 | RGB: rgb(174, 30, 88) | CMYK: 0%, 83%, 49%, 32% | HSV: 336°, 83%, 68%. Copy any format from the conversion table above.
What colors go well with #AE1E58?
The complementary color is HSL(156, 71%, 40%). For a triadic harmony, use hues 336°, 96°, and 216°. For analogous combinations, try hues 306° and 6°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(336, 71%, 40%) in CSS?
As HSL: color: hsl(336, 71%, 40%); — As HEX: color: #AE1E58; — As RGB: color: rgb(174, 30, 88); — Tailwind CSS: bg-[hsl(336,71%,40%)] — CSS variable: --color-primary: hsl(336, 71%, 40%);