HSL(342, 40%, 59%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,40%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 40%, 59%) | color: hsl(342, 40%, 59%) | |
| HEX | #C06D86 | color: #C06D86 | |
| RGB | rgb(192, 109, 134) | color: rgb(192, 109, 134) | |
| CMYK | cmyk(0%, 43%, 30%, 25%) | — | |
| HSV | hsv(342, 43%, 75%) | — | |
| HWB | hwb(342 43% 25%) | color: hwb(342 43% 25%) | |
| OKLCH | oklch(0.6343 0.1088 1.34) | color: oklch(0.6343 0.1088 1.34) | |
| Lab | lab(55.95 35.9 0.79) | color: lab(55.95 35.9 0.79) | |
| LCH | lch(55.95 35.91 1.26) | color: lch(55.95 35.91 1.26) |
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)
#9C9B80 — rgb(156, 155, 128)
Deuteranopia (Green-blind)
#A1A77F — rgb(161, 167, 127)
Tritanopia (Blue-blind)
#BC7B7A — rgb(188, 123, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 40%, 59%);
text
color: hsl(342, 40%, 59%);
border
border: 2px solid hsl(342, 40%, 59%);
gradient light
background: linear-gradient(to right, hsl(342, 40%, 79%), hsl(342, 40%, 59%));
gradient dark
background: linear-gradient(to right, hsl(342, 40%, 59%), hsl(342, 40%, 39%))
hex
background-color: #C06D86;
tailwind
bg-[hsl(342,40%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 40%, 59%, 0.4);
css variable
--color-primary: hsl(342, 40%, 59%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 40%, 59%)?
HEX: #C06D86 | RGB: rgb(192, 109, 134) | CMYK: 0%, 43%, 30%, 25% | HSV: 342°, 43%, 75%. Copy any format from the conversion table above.
What colors go well with #C06D86?
The complementary color is HSL(162, 40%, 59%). 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, 40%, 59%) in CSS?
As HSL: color: hsl(342, 40%, 59%); — As HEX: color: #C06D86; — As RGB: color: rgb(192, 109, 134); — Tailwind CSS: bg-[hsl(342,40%,59%)] — CSS variable: --color-primary: hsl(342, 40%, 59%);