HSL(342, 34%, 59%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,34%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 34%, 59%) | color: hsl(342, 34%, 59%) | |
| HEX | #BA7388 | color: #BA7388 | |
| RGB | rgb(186, 115, 136) | color: rgb(186, 115, 136) | |
| CMYK | cmyk(0%, 38%, 27%, 27%) | — | |
| HSV | hsv(342, 38%, 73%) | — | |
| HWB | hwb(342 45% 27%) | color: hwb(342 45% 27%) | |
| OKLCH | oklch(0.6375 0.0929 0.93) | color: oklch(0.6375 0.0929 0.93) | |
| Lab | lab(56.57 30.74 0.42) | color: lab(56.57 30.74 0.42) | |
| LCH | lch(56.57 30.74 0.78) | color: lch(56.57 30.74 0.78) |
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)
#9B9B83 — rgb(155, 155, 131)
Deuteranopia (Green-blind)
#9FA582 — rgb(159, 165, 130)
Tritanopia (Blue-blind)
#B67F7E — rgb(182, 127, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 34%, 59%);
text
color: hsl(342, 34%, 59%);
border
border: 2px solid hsl(342, 34%, 59%);
gradient light
background: linear-gradient(to right, hsl(342, 34%, 79%), hsl(342, 34%, 59%));
gradient dark
background: linear-gradient(to right, hsl(342, 34%, 59%), hsl(342, 34%, 39%))
hex
background-color: #BA7388;
tailwind
bg-[hsl(342,34%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 34%, 59%, 0.4);
css variable
--color-primary: hsl(342, 34%, 59%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 34%, 59%)?
HEX: #BA7388 | RGB: rgb(186, 115, 136) | CMYK: 0%, 38%, 27%, 27% | HSV: 342°, 38%, 73%. Copy any format from the conversion table above.
What colors go well with #BA7388?
The complementary color is HSL(162, 34%, 59%). 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, 34%, 59%) in CSS?
As HSL: color: hsl(342, 34%, 59%); — As HEX: color: #BA7388; — As RGB: color: rgb(186, 115, 136); — Tailwind CSS: bg-[hsl(342,34%,59%)] — CSS variable: --color-primary: hsl(342, 34%, 59%);