HSL(342, 82%, 71%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,82%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 82%, 71%) | color: hsl(342, 82%, 71%) | |
| HEX | #F2789D | color: #F2789D | |
| RGB | rgb(242, 120, 157) | color: rgb(242, 120, 157) | |
| CMYK | cmyk(0%, 50%, 35%, 5%) | — | |
| HSV | hsv(342, 50%, 95%) | — | |
| HWB | hwb(342 48% 5%) | color: hwb(342 48% 5%) | |
| OKLCH | oklch(0.7229 0.1538 2.49) | color: oklch(0.7229 0.1538 2.49) | |
| Lab | lab(65.55 50.55 2.32) | color: lab(65.55 50.55 2.32) | |
| LCH | lch(65.55 50.6 2.63) | color: lch(65.55 50.6 2.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)
#BDBC94 — rgb(189, 188, 148)
Deuteranopia (Green-blind)
#C4CD92 — rgb(196, 205, 146)
Tritanopia (Blue-blind)
#EC8D8B — rgb(236, 141, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 82%, 71%);
text
color: hsl(342, 82%, 71%);
border
border: 2px solid hsl(342, 82%, 71%);
gradient light
background: linear-gradient(to right, hsl(342, 82%, 91%), hsl(342, 82%, 71%));
gradient dark
background: linear-gradient(to right, hsl(342, 82%, 71%), hsl(342, 82%, 51%))
hex
background-color: #F2789D;
tailwind
bg-[hsl(342,82%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 82%, 71%, 0.4);
css variable
--color-primary: hsl(342, 82%, 71%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 82%, 71%)?
HEX: #F2789D | RGB: rgb(242, 120, 157) | CMYK: 0%, 50%, 35%, 5% | HSV: 342°, 50%, 95%. Copy any format from the conversion table above.
What colors go well with #F2789D?
The complementary color is HSL(162, 82%, 71%). 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, 82%, 71%) in CSS?
As HSL: color: hsl(342, 82%, 71%); — As HEX: color: #F2789D; — As RGB: color: rgb(242, 120, 157); — Tailwind CSS: bg-[hsl(342,82%,71%)] — CSS variable: --color-primary: hsl(342, 82%, 71%);