HSL(340, 20%, 26%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,20%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 20%, 26%) | color: hsl(340, 20%, 26%) | |
| HEX | #50353E | color: #50353E | |
| RGB | rgb(80, 53, 62) | color: rgb(80, 53, 62) | |
| CMYK | cmyk(0%, 34%, 23%, 69%) | — | |
| HSV | hsv(340, 34%, 31%) | — | |
| HWB | hwb(340 20% 69%) | color: hwb(340 20% 69%) | |
| OKLCH | oklch(0.3636 0.041 357.68) | color: oklch(0.3636 0.041 357.68) | |
| Lab | lab(25.56 13.67 -0.7) | color: lab(25.56 13.67 -0.7) | |
| LCH | lch(25.56 13.69 357.07) | color: lch(25.56 13.69 357.07) |
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)
#44443C — rgb(68, 68, 60)
Deuteranopia (Green-blind)
#46483B — rgb(70, 72, 59)
Tritanopia (Blue-blind)
#4F3A3A — rgb(79, 58, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 20%, 26%);
text
color: hsl(340, 20%, 26%);
border
border: 2px solid hsl(340, 20%, 26%);
gradient light
background: linear-gradient(to right, hsl(340, 20%, 46%), hsl(340, 20%, 26%));
gradient dark
background: linear-gradient(to right, hsl(340, 20%, 26%), hsl(340, 20%, 6%))
hex
background-color: #50353E;
tailwind
bg-[hsl(340,20%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 20%, 26%, 0.4);
css variable
--color-primary: hsl(340, 20%, 26%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 20%, 26%)?
HEX: #50353E | RGB: rgb(80, 53, 62) | CMYK: 0%, 34%, 23%, 69% | HSV: 340°, 34%, 31%. Copy any format from the conversion table above.
What colors go well with #50353E?
The complementary color is HSL(160, 20%, 26%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(340, 20%, 26%) in CSS?
As HSL: color: hsl(340, 20%, 26%); — As HEX: color: #50353E; — As RGB: color: rgb(80, 53, 62); — Tailwind CSS: bg-[hsl(340,20%,26%)] — CSS variable: --color-primary: hsl(340, 20%, 26%);