HSL(341, 18%, 42%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(341,18%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(341, 18%, 42%) | color: hsl(341, 18%, 42%) | |
| HEX | #7E5864 | color: #7E5864 | |
| RGB | rgb(126, 88, 100) | color: rgb(126, 88, 100) | |
| CMYK | cmyk(0%, 30%, 21%, 51%) | — | |
| HSV | hsv(341, 30%, 49%) | — | |
| HWB | hwb(341 34% 51%) | color: hwb(341 34% 51%) | |
| OKLCH | oklch(0.5046 0.0528 358.55) | color: oklch(0.5046 0.0528 358.55) | |
| Lab | lab(41.75 17.61 -0.6) | color: lab(41.75 17.61 -0.6) | |
| LCH | lch(41.75 17.62 358.05) | color: lch(41.75 17.62 358.05) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#6E6D61 — rgb(110, 109, 97)
Deuteranopia (Green-blind)
#707360 — rgb(112, 115, 96)
Tritanopia (Blue-blind)
#7C5F5E — rgb(124, 95, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(341, 18%, 42%);
text
color: hsl(341, 18%, 42%);
border
border: 2px solid hsl(341, 18%, 42%);
gradient light
background: linear-gradient(to right, hsl(341, 18%, 62%), hsl(341, 18%, 42%));
gradient dark
background: linear-gradient(to right, hsl(341, 18%, 42%), hsl(341, 18%, 22%))
hex
background-color: #7E5864;
tailwind
bg-[hsl(341,18%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(341, 18%, 42%, 0.4);
css variable
--color-primary: hsl(341, 18%, 42%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(341, 18%, 42%)?
HEX: #7E5864 | RGB: rgb(126, 88, 100) | CMYK: 0%, 30%, 21%, 51% | HSV: 341°, 30%, 49%. Copy any format from the conversion table above.
What colors go well with #7E5864?
The complementary color is HSL(161, 18%, 42%). For a triadic harmony, use hues 341°, 101°, and 221°. For analogous combinations, try hues 311° and 11°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(341, 18%, 42%) in CSS?
As HSL: color: hsl(341, 18%, 42%); — As HEX: color: #7E5864; — As RGB: color: rgb(126, 88, 100); — Tailwind CSS: bg-[hsl(341,18%,42%)] — CSS variable: --color-primary: hsl(341, 18%, 42%);