HSL(342, 74%, 29%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,74%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 74%, 29%) | color: hsl(342, 74%, 29%) | |
| HEX | #811334 | color: #811334 | |
| RGB | rgb(129, 19, 52) | color: rgb(129, 19, 52) | |
| CMYK | cmyk(0%, 85%, 60%, 49%) | — | |
| HSV | hsv(342, 85%, 51%) | — | |
| HWB | hwb(342 8% 49%) | color: hwb(342 8% 49%) | |
| OKLCH | oklch(0.396 0.1434 10.4) | color: oklch(0.396 0.1434 10.4) | |
| Lab | lab(27.8 46.53 10.35) | color: lab(27.8 46.53 10.35) | |
| LCH | lch(27.8 47.67 12.54) | color: lch(27.8 47.67 12.54) |
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)
#51502C — rgb(81, 80, 44)
Deuteranopia (Green-blind)
#58602A — rgb(88, 96, 42)
Tritanopia (Blue-blind)
#7C2624 — rgb(124, 38, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 74%, 29%);
text
color: hsl(342, 74%, 29%);
border
border: 2px solid hsl(342, 74%, 29%);
gradient light
background: linear-gradient(to right, hsl(342, 74%, 49%), hsl(342, 74%, 29%));
gradient dark
background: linear-gradient(to right, hsl(342, 74%, 29%), hsl(342, 74%, 9%))
hex
background-color: #811334;
tailwind
bg-[hsl(342,74%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 74%, 29%, 0.4);
css variable
--color-primary: hsl(342, 74%, 29%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 74%, 29%)?
HEX: #811334 | RGB: rgb(129, 19, 52) | CMYK: 0%, 85%, 60%, 49% | HSV: 342°, 85%, 51%. Copy any format from the conversion table above.
What colors go well with #811334?
The complementary color is HSL(162, 74%, 29%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 74%, 29%) in CSS?
As HSL: color: hsl(342, 74%, 29%); — As HEX: color: #811334; — As RGB: color: rgb(129, 19, 52); — Tailwind CSS: bg-[hsl(342,74%,29%)] — CSS variable: --color-primary: hsl(342, 74%, 29%);