HSL(331, 52%, 64%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(331,52%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 52%, 64%) | color: hsl(331, 52%, 64%) | |
| HEX | #D373A2 | color: #D373A2 | |
| RGB | rgb(211, 115, 162) | color: rgb(211, 115, 162) | |
| CMYK | cmyk(0%, 45%, 23%, 17%) | — | |
| HSV | hsv(331, 45%, 83%) | — | |
| HWB | hwb(331 46% 17%) | color: hwb(331 46% 17%) | |
| OKLCH | oklch(0.6769 0.1318 350.48) | color: oklch(0.6769 0.1318 350.48) | |
| Lab | lab(60.54 43.29 -8.41) | color: lab(60.54 43.29 -8.41) | |
| LCH | lch(60.54 44.1 349.01) | color: lch(60.54 44.1 349.01) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#A9A997 — rgb(169, 169, 151)
Deuteranopia (Green-blind)
#AFB694 — rgb(175, 182, 148)
Tritanopia (Blue-blind)
#CE8E8C — rgb(206, 142, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 52%, 64%);
text
color: hsl(331, 52%, 64%);
border
border: 2px solid hsl(331, 52%, 64%);
gradient light
background: linear-gradient(to right, hsl(331, 52%, 84%), hsl(331, 52%, 64%));
gradient dark
background: linear-gradient(to right, hsl(331, 52%, 64%), hsl(331, 52%, 44%))
hex
background-color: #D373A2;
tailwind
bg-[hsl(331,52%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 52%, 64%, 0.4);
css variable
--color-primary: hsl(331, 52%, 64%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(331, 52%, 64%)?
HEX: #D373A2 | RGB: rgb(211, 115, 162) | CMYK: 0%, 45%, 23%, 17% | HSV: 331°, 45%, 83%. Copy any format from the conversion table above.
What colors go well with #D373A2?
The complementary color is HSL(151, 52%, 64%). 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, 52%, 64%) in CSS?
As HSL: color: hsl(331, 52%, 64%); — As HEX: color: #D373A2; — As RGB: color: rgb(211, 115, 162); — Tailwind CSS: bg-[hsl(331,52%,64%)] — CSS variable: --color-primary: hsl(331, 52%, 64%);