HSL(342, 25%, 54%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,25%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 25%, 54%) | color: hsl(342, 25%, 54%) | |
| HEX | #A76C7E | color: #A76C7E | |
| RGB | rgb(167, 108, 126) | color: rgb(167, 108, 126) | |
| CMYK | cmyk(0%, 35%, 25%, 35%) | — | |
| HSV | hsv(342, 35%, 65%) | — | |
| HWB | hwb(342 42% 35%) | color: hwb(342 42% 35%) | |
| OKLCH | oklch(0.5992 0.0785 359.94) | color: oklch(0.5992 0.0785 359.94) | |
| Lab | lab(52.34 26.07 -0.17) | color: lab(52.34 26.07 -0.17) | |
| LCH | lch(52.34 26.07 359.63) | color: lch(52.34 26.07 359.63) |
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)
#8D8D7A — rgb(141, 141, 122)
Deuteranopia (Green-blind)
#919579 — rgb(145, 149, 121)
Tritanopia (Blue-blind)
#A47675 — rgb(164, 118, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 25%, 54%);
text
color: hsl(342, 25%, 54%);
border
border: 2px solid hsl(342, 25%, 54%);
gradient light
background: linear-gradient(to right, hsl(342, 25%, 74%), hsl(342, 25%, 54%));
gradient dark
background: linear-gradient(to right, hsl(342, 25%, 54%), hsl(342, 25%, 34%))
hex
background-color: #A76C7E;
tailwind
bg-[hsl(342,25%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 25%, 54%, 0.4);
css variable
--color-primary: hsl(342, 25%, 54%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 25%, 54%)?
HEX: #A76C7E | RGB: rgb(167, 108, 126) | CMYK: 0%, 35%, 25%, 35% | HSV: 342°, 35%, 65%. Copy any format from the conversion table above.
What colors go well with #A76C7E?
The complementary color is HSL(162, 25%, 54%). 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, 25%, 54%) in CSS?
As HSL: color: hsl(342, 25%, 54%); — As HEX: color: #A76C7E; — As RGB: color: rgb(167, 108, 126); — Tailwind CSS: bg-[hsl(342,25%,54%)] — CSS variable: --color-primary: hsl(342, 25%, 54%);