HSL(340, 50%, 19%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,50%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 50%, 19%) | color: hsl(340, 50%, 19%) | |
| HEX | #491828 | color: #491828 | |
| RGB | rgb(73, 24, 40) | color: rgb(73, 24, 40) | |
| CMYK | cmyk(0%, 67%, 45%, 71%) | — | |
| HSV | hsv(340, 67%, 29%) | — | |
| HWB | hwb(340 10% 71%) | color: hwb(340 10% 71%) | |
| OKLCH | oklch(0.2911 0.0766 2.78) | color: oklch(0.2911 0.0766 2.78) | |
| Lab | lab(16.62 25.08 1.32) | color: lab(16.62 25.08 1.32) | |
| LCH | lch(16.62 25.11 3.01) | color: lch(16.62 25.11 3.01) |
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)
#343324 — rgb(52, 51, 36)
Deuteranopia (Green-blind)
#373A23 — rgb(55, 58, 35)
Tritanopia (Blue-blind)
#472120 — rgb(71, 33, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 50%, 19%);
text
color: hsl(340, 50%, 19%);
border
border: 2px solid hsl(340, 50%, 19%);
gradient light
background: linear-gradient(to right, hsl(340, 50%, 39%), hsl(340, 50%, 19%));
gradient dark
background: linear-gradient(to right, hsl(340, 50%, 19%), hsl(340, 50%, 0%))
hex
background-color: #491828;
tailwind
bg-[hsl(340,50%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 50%, 19%, 0.4);
css variable
--color-primary: hsl(340, 50%, 19%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 50%, 19%)?
HEX: #491828 | RGB: rgb(73, 24, 40) | CMYK: 0%, 67%, 45%, 71% | HSV: 340°, 67%, 29%. Copy any format from the conversion table above.
What colors go well with #491828?
The complementary color is HSL(160, 50%, 19%). 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, 50%, 19%) in CSS?
As HSL: color: hsl(340, 50%, 19%); — As HEX: color: #491828; — As RGB: color: rgb(73, 24, 40); — Tailwind CSS: bg-[hsl(340,50%,19%)] — CSS variable: --color-primary: hsl(340, 50%, 19%);