HSL(342, 20%, 57%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,20%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 20%, 57%) | color: hsl(342, 20%, 57%) | |
| HEX | #A77B89 | color: #A77B89 | |
| RGB | rgb(167, 123, 137) | color: rgb(167, 123, 137) | |
| CMYK | cmyk(0%, 26%, 18%, 35%) | — | |
| HSV | hsv(341, 26%, 65%) | — | |
| HWB | hwb(341 48% 35%) | color: hwb(341 48% 35%) | |
| OKLCH | oklch(0.6305 0.0578 358.05) | color: oklch(0.6305 0.0578 358.05) | |
| Lab | lab(56.28 19.3 -0.85) | color: lab(56.28 19.3 -0.85) | |
| LCH | lch(56.28 19.32 357.48) | color: lch(56.28 19.32 357.48) |
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)
#949486 — rgb(148, 148, 134)
Deuteranopia (Green-blind)
#979A85 — rgb(151, 154, 133)
Tritanopia (Blue-blind)
#A58382 — rgb(165, 131, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 20%, 57%);
text
color: hsl(342, 20%, 57%);
border
border: 2px solid hsl(342, 20%, 57%);
gradient light
background: linear-gradient(to right, hsl(342, 20%, 77%), hsl(342, 20%, 57%));
gradient dark
background: linear-gradient(to right, hsl(342, 20%, 57%), hsl(342, 20%, 37%))
hex
background-color: #A77B89;
tailwind
bg-[hsl(342,20%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 20%, 57%, 0.4);
css variable
--color-primary: hsl(342, 20%, 57%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 20%, 57%)?
HEX: #A77B89 | RGB: rgb(167, 123, 137) | CMYK: 0%, 26%, 18%, 35% | HSV: 341°, 26%, 65%. Copy any format from the conversion table above.
What colors go well with #A77B89?
The complementary color is HSL(162, 20%, 57%). 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, 20%, 57%) in CSS?
As HSL: color: hsl(342, 20%, 57%); — As HEX: color: #A77B89; — As RGB: color: rgb(167, 123, 137); — Tailwind CSS: bg-[hsl(342,20%,57%)] — CSS variable: --color-primary: hsl(342, 20%, 57%);