HSL(340, 74%, 29%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,74%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 74%, 29%) | color: hsl(340, 74%, 29%) | |
| HEX | #811338 | color: #811338 | |
| RGB | rgb(129, 19, 56) | color: rgb(129, 19, 56) | |
| CMYK | cmyk(0%, 85%, 57%, 49%) | — | |
| HSV | hsv(340, 85%, 51%) | — | |
| HWB | hwb(340 8% 49%) | color: hwb(340 8% 49%) | |
| OKLCH | oklch(0.3971 0.1441 7.93) | color: oklch(0.3971 0.1441 7.93) | |
| Lab | lab(27.9 46.83 7.79) | color: lab(27.9 46.83 7.79) | |
| LCH | lch(27.9 47.47 9.44) | color: lch(27.9 47.47 9.44) |
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)
#51502F — rgb(81, 80, 47)
Deuteranopia (Green-blind)
#58602D — rgb(88, 96, 45)
Tritanopia (Blue-blind)
#7C2826 — rgb(124, 40, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 74%, 29%);
text
color: hsl(340, 74%, 29%);
border
border: 2px solid hsl(340, 74%, 29%);
gradient light
background: linear-gradient(to right, hsl(340, 74%, 49%), hsl(340, 74%, 29%));
gradient dark
background: linear-gradient(to right, hsl(340, 74%, 29%), hsl(340, 74%, 9%))
hex
background-color: #811338;
tailwind
bg-[hsl(340,74%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 74%, 29%, 0.4);
css variable
--color-primary: hsl(340, 74%, 29%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 74%, 29%)?
HEX: #811338 | RGB: rgb(129, 19, 56) | CMYK: 0%, 85%, 57%, 49% | HSV: 340°, 85%, 51%. Copy any format from the conversion table above.
What colors go well with #811338?
The complementary color is HSL(160, 74%, 29%). 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, 74%, 29%) in CSS?
As HSL: color: hsl(340, 74%, 29%); — As HEX: color: #811338; — As RGB: color: rgb(129, 19, 56); — Tailwind CSS: bg-[hsl(340,74%,29%)] — CSS variable: --color-primary: hsl(340, 74%, 29%);