HSL(342, 30%, 59%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,30%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 30%, 59%) | color: hsl(342, 30%, 59%) | |
| HEX | #B6778A | color: #B6778A | |
| RGB | rgb(182, 119, 138) | color: rgb(182, 119, 138) | |
| CMYK | cmyk(0%, 35%, 24%, 29%) | — | |
| HSV | hsv(342, 35%, 71%) | — | |
| HWB | hwb(342 46% 29%) | color: hwb(342 46% 29%) | |
| OKLCH | oklch(0.6403 0.0824 0.09) | color: oklch(0.6403 0.0824 0.09) | |
| Lab | lab(57.05 27.35 -0.09) | color: lab(57.05 27.35 -0.09) | |
| LCH | lch(57.05 27.35 359.81) | color: lch(57.05 27.35 359.81) |
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)
#9B9A85 — rgb(155, 154, 133)
Deuteranopia (Green-blind)
#9EA384 — rgb(158, 163, 132)
Tritanopia (Blue-blind)
#B38281 — rgb(179, 130, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 30%, 59%);
text
color: hsl(342, 30%, 59%);
border
border: 2px solid hsl(342, 30%, 59%);
gradient light
background: linear-gradient(to right, hsl(342, 30%, 79%), hsl(342, 30%, 59%));
gradient dark
background: linear-gradient(to right, hsl(342, 30%, 59%), hsl(342, 30%, 39%))
hex
background-color: #B6778A;
tailwind
bg-[hsl(342,30%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 30%, 59%, 0.4);
css variable
--color-primary: hsl(342, 30%, 59%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 30%, 59%)?
HEX: #B6778A | RGB: rgb(182, 119, 138) | CMYK: 0%, 35%, 24%, 29% | HSV: 342°, 35%, 71%. Copy any format from the conversion table above.
What colors go well with #B6778A?
The complementary color is HSL(162, 30%, 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, 30%, 59%) in CSS?
As HSL: color: hsl(342, 30%, 59%); — As HEX: color: #B6778A; — As RGB: color: rgb(182, 119, 138); — Tailwind CSS: bg-[hsl(342,30%,59%)] — CSS variable: --color-primary: hsl(342, 30%, 59%);