HSL(342, 60%, 58%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,60%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 60%, 58%) | color: hsl(342, 60%, 58%) | |
| HEX | #D4547A | color: #D4547A | |
| RGB | rgb(212, 84, 122) | color: rgb(212, 84, 122) | |
| CMYK | cmyk(0%, 60%, 42%, 17%) | — | |
| HSV | hsv(342, 60%, 83%) | — | |
| HWB | hwb(342 33% 17%) | color: hwb(342 33% 17%) | |
| OKLCH | oklch(0.6225 0.1642 4.75) | color: oklch(0.6225 0.1642 4.75) | |
| Lab | lab(53.76 53.69 5.04) | color: lab(53.76 53.69 5.04) | |
| LCH | lch(53.76 53.93 5.36) | color: lch(53.76 53.93 5.36) |
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)
#9D9B71 — rgb(157, 155, 113)
Deuteranopia (Green-blind)
#A4AE6F — rgb(164, 174, 111)
Tritanopia (Blue-blind)
#CE6A68 — rgb(206, 106, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 60%, 58%);
text
color: hsl(342, 60%, 58%);
border
border: 2px solid hsl(342, 60%, 58%);
gradient light
background: linear-gradient(to right, hsl(342, 60%, 78%), hsl(342, 60%, 58%));
gradient dark
background: linear-gradient(to right, hsl(342, 60%, 58%), hsl(342, 60%, 38%))
hex
background-color: #D4547A;
tailwind
bg-[hsl(342,60%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 60%, 58%, 0.4);
css variable
--color-primary: hsl(342, 60%, 58%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 60%, 58%)?
HEX: #D4547A | RGB: rgb(212, 84, 122) | CMYK: 0%, 60%, 42%, 17% | HSV: 342°, 60%, 83%. Copy any format from the conversion table above.
What colors go well with #D4547A?
The complementary color is HSL(162, 60%, 58%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 60%, 58%) in CSS?
As HSL: color: hsl(342, 60%, 58%); — As HEX: color: #D4547A; — As RGB: color: rgb(212, 84, 122); — Tailwind CSS: bg-[hsl(342,60%,58%)] — CSS variable: --color-primary: hsl(342, 60%, 58%);