HSL(342, 80%, 81%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,80%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 80%, 81%) | color: hsl(342, 80%, 81%) | |
| HEX | #F5A8BF | color: #F5A8BF | |
| RGB | rgb(245, 168, 191) | color: rgb(245, 168, 191) | |
| CMYK | cmyk(0%, 31%, 22%, 4%) | — | |
| HSV | hsv(342, 31%, 96%) | — | |
| HWB | hwb(342 66% 4%) | color: hwb(342 66% 4%) | |
| OKLCH | oklch(0.8121 0.0947 359.94) | color: oklch(0.8121 0.0947 359.94) | |
| Lab | lab(76.79 31.48 -0.2) | color: lab(76.79 31.48 -0.2) | |
| LCH | lch(76.79 31.48 359.64) | color: lch(76.79 31.48 359.64) |
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)
#D4D3B9 — rgb(212, 211, 185)
Deuteranopia (Green-blind)
#D8DEB8 — rgb(216, 222, 184)
Tritanopia (Blue-blind)
#F1B5B4 — rgb(241, 181, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 80%, 81%);
text
color: hsl(342, 80%, 81%);
border
border: 2px solid hsl(342, 80%, 81%);
gradient light
background: linear-gradient(to right, hsl(342, 80%, 100%), hsl(342, 80%, 81%));
gradient dark
background: linear-gradient(to right, hsl(342, 80%, 81%), hsl(342, 80%, 61%))
hex
background-color: #F5A8BF;
tailwind
bg-[hsl(342,80%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 80%, 81%, 0.4);
css variable
--color-primary: hsl(342, 80%, 81%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 80%, 81%)?
HEX: #F5A8BF | RGB: rgb(245, 168, 191) | CMYK: 0%, 31%, 22%, 4% | HSV: 342°, 31%, 96%. Copy any format from the conversion table above.
What colors go well with #F5A8BF?
The complementary color is HSL(162, 80%, 81%). 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, 80%, 81%) in CSS?
As HSL: color: hsl(342, 80%, 81%); — As HEX: color: #F5A8BF; — As RGB: color: rgb(245, 168, 191); — Tailwind CSS: bg-[hsl(342,80%,81%)] — CSS variable: --color-primary: hsl(342, 80%, 81%);