HSL(339, 60%, 42%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(339,60%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(339, 60%, 42%) | color: hsl(339, 60%, 42%) | |
| HEX | #AB2B58 | color: #AB2B58 | |
| RGB | rgb(171, 43, 88) | color: rgb(171, 43, 88) | |
| CMYK | cmyk(0%, 75%, 49%, 33%) | — | |
| HSV | hsv(339, 75%, 67%) | — | |
| HWB | hwb(339 17% 33%) | color: hwb(339 17% 33%) | |
| OKLCH | oklch(0.5021 0.1665 4.44) | color: oklch(0.5021 0.1665 4.44) | |
| Lab | lab(39.74 54.26 4.82) | color: lab(39.74 54.26 4.82) | |
| LCH | lch(39.74 54.47 5.08) | color: lch(39.74 54.47 5.08) |
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)
#74724D — rgb(116, 114, 77)
Deuteranopia (Green-blind)
#7B854B — rgb(123, 133, 75)
Tritanopia (Blue-blind)
#A54543 — rgb(165, 69, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(339, 60%, 42%);
text
color: hsl(339, 60%, 42%);
border
border: 2px solid hsl(339, 60%, 42%);
gradient light
background: linear-gradient(to right, hsl(339, 60%, 62%), hsl(339, 60%, 42%));
gradient dark
background: linear-gradient(to right, hsl(339, 60%, 42%), hsl(339, 60%, 22%))
hex
background-color: #AB2B58;
tailwind
bg-[hsl(339,60%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(339, 60%, 42%, 0.4);
css variable
--color-primary: hsl(339, 60%, 42%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(339, 60%, 42%)?
HEX: #AB2B58 | RGB: rgb(171, 43, 88) | CMYK: 0%, 75%, 49%, 33% | HSV: 339°, 75%, 67%. Copy any format from the conversion table above.
What colors go well with #AB2B58?
The complementary color is HSL(159, 60%, 42%). For a triadic harmony, use hues 339°, 99°, and 219°. For analogous combinations, try hues 309° and 9°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(339, 60%, 42%) in CSS?
As HSL: color: hsl(339, 60%, 42%); — As HEX: color: #AB2B58; — As RGB: color: rgb(171, 43, 88); — Tailwind CSS: bg-[hsl(339,60%,42%)] — CSS variable: --color-primary: hsl(339, 60%, 42%);