HSL(340, 80%, 28%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,80%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 80%, 28%) | color: hsl(340, 80%, 28%) | |
| HEX | #810E34 | color: #810E34 | |
| RGB | rgb(129, 14, 52) | color: rgb(129, 14, 52) | |
| CMYK | cmyk(0%, 89%, 60%, 49%) | — | |
| HSV | hsv(340, 89%, 51%) | — | |
| HWB | hwb(340 6% 49%) | color: hwb(340 6% 49%) | |
| OKLCH | oklch(0.393 0.147 9.61) | color: oklch(0.393 0.147 9.61) | |
| Lab | lab(27.38 47.72 9.78) | color: lab(27.38 47.72 9.78) | |
| LCH | lch(27.38 48.71 11.58) | color: lch(27.38 48.71 11.58) |
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)
#4F4E2B — rgb(79, 78, 43)
Deuteranopia (Green-blind)
#565F29 — rgb(86, 95, 41)
Tritanopia (Blue-blind)
#7B2422 — rgb(123, 36, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 80%, 28%);
text
color: hsl(340, 80%, 28%);
border
border: 2px solid hsl(340, 80%, 28%);
gradient light
background: linear-gradient(to right, hsl(340, 80%, 48%), hsl(340, 80%, 28%));
gradient dark
background: linear-gradient(to right, hsl(340, 80%, 28%), hsl(340, 80%, 8%))
hex
background-color: #810E34;
tailwind
bg-[hsl(340,80%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 80%, 28%, 0.4);
css variable
--color-primary: hsl(340, 80%, 28%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 80%, 28%)?
HEX: #810E34 | RGB: rgb(129, 14, 52) | CMYK: 0%, 89%, 60%, 49% | HSV: 340°, 89%, 51%. Copy any format from the conversion table above.
What colors go well with #810E34?
The complementary color is HSL(160, 80%, 28%). 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, 80%, 28%) in CSS?
As HSL: color: hsl(340, 80%, 28%); — As HEX: color: #810E34; — As RGB: color: rgb(129, 14, 52); — Tailwind CSS: bg-[hsl(340,80%,28%)] — CSS variable: --color-primary: hsl(340, 80%, 28%);