HSL(330, 70%, 40%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
5000K
CSS Class
bg-[hsl(330,70%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(330, 70%, 40%) | color: hsl(330, 70%, 40%) | |
| HEX | #AD1F66 | color: #AD1F66 | |
| RGB | rgb(173, 31, 102) | color: rgb(173, 31, 102) | |
| CMYK | cmyk(0%, 82%, 41%, 32%) | — | |
| HSV | hsv(330, 82%, 68%) | — | |
| HWB | hwb(330 12% 32%) | color: hwb(330 12% 32%) | |
| OKLCH | oklch(0.5009 0.1842 356.43) | color: oklch(0.5009 0.1842 356.43) | |
| Lab | lab(39.29 59.7 -4.65) | color: lab(39.29 59.7 -4.65) | |
| LCH | lch(39.29 59.88 355.55) | color: lch(39.29 59.88 355.55) |
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)
#706E55 — rgb(112, 110, 85)
Deuteranopia (Green-blind)
#788251 — rgb(120, 130, 81)
Tritanopia (Blue-blind)
#A64744 — rgb(166, 71, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(330, 70%, 40%);
text
color: hsl(330, 70%, 40%);
border
border: 2px solid hsl(330, 70%, 40%);
gradient light
background: linear-gradient(to right, hsl(330, 70%, 60%), hsl(330, 70%, 40%));
gradient dark
background: linear-gradient(to right, hsl(330, 70%, 40%), hsl(330, 70%, 20%))
hex
background-color: #AD1F66;
tailwind
bg-[hsl(330,70%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(330, 70%, 40%, 0.4);
css variable
--color-primary: hsl(330, 70%, 40%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(330, 70%, 40%)?
HEX: #AD1F66 | RGB: rgb(173, 31, 102) | CMYK: 0%, 82%, 41%, 32% | HSV: 330°, 82%, 68%. Copy any format from the conversion table above.
What colors go well with #AD1F66?
The complementary color is HSL(150, 70%, 40%). For a triadic harmony, use hues 330°, 90°, and 210°. For analogous combinations, try hues 300° and 0°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(330, 70%, 40%) in CSS?
As HSL: color: hsl(330, 70%, 40%); — As HEX: color: #AD1F66; — As RGB: color: rgb(173, 31, 102); — Tailwind CSS: bg-[hsl(330,70%,40%)] — CSS variable: --color-primary: hsl(330, 70%, 40%);