HSL(342, 75%, 77%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,75%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 75%, 77%) | color: hsl(342, 75%, 77%) | |
| HEX | #F098B3 | color: #F098B3 | |
| RGB | rgb(240, 152, 179) | color: rgb(240, 152, 179) | |
| CMYK | cmyk(0%, 37%, 25%, 6%) | — | |
| HSV | hsv(342, 37%, 94%) | — | |
| HWB | hwb(342 59% 6%) | color: hwb(342 59% 6%) | |
| OKLCH | oklch(0.7761 0.1099 0.12) | color: oklch(0.7761 0.1099 0.12) | |
| Lab | lab(72.39 36.43 -0.1) | color: lab(72.39 36.43 -0.1) | |
| LCH | lch(72.39 36.43 359.84) | color: lch(72.39 36.43 359.84) |
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)
#CAC9AC — rgb(202, 201, 172)
Deuteranopia (Green-blind)
#CFD6AB — rgb(207, 214, 171)
Tritanopia (Blue-blind)
#ECA7A6 — rgb(236, 167, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 75%, 77%);
text
color: hsl(342, 75%, 77%);
border
border: 2px solid hsl(342, 75%, 77%);
gradient light
background: linear-gradient(to right, hsl(342, 75%, 97%), hsl(342, 75%, 77%));
gradient dark
background: linear-gradient(to right, hsl(342, 75%, 77%), hsl(342, 75%, 57%))
hex
background-color: #F098B3;
tailwind
bg-[hsl(342,75%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 75%, 77%, 0.4);
css variable
--color-primary: hsl(342, 75%, 77%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 75%, 77%)?
HEX: #F098B3 | RGB: rgb(240, 152, 179) | CMYK: 0%, 37%, 25%, 6% | HSV: 342°, 37%, 94%. Copy any format from the conversion table above.
What colors go well with #F098B3?
The complementary color is HSL(162, 75%, 77%). 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, 75%, 77%) in CSS?
As HSL: color: hsl(342, 75%, 77%); — As HEX: color: #F098B3; — As RGB: color: rgb(240, 152, 179); — Tailwind CSS: bg-[hsl(342,75%,77%)] — CSS variable: --color-primary: hsl(342, 75%, 77%);