HSL(343, 45%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(343,45%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(343, 45%, 20%) | color: hsl(343, 45%, 20%) | |
| HEX | #4A1C29 | color: #4A1C29 | |
| RGB | rgb(74, 28, 41) | color: rgb(74, 28, 41) | |
| CMYK | cmyk(0%, 62%, 45%, 71%) | — | |
| HSV | hsv(343, 62%, 29%) | — | |
| HWB | hwb(343 11% 71%) | color: hwb(343 11% 71%) | |
| OKLCH | oklch(0.2995 0.0714 4.7) | color: oklch(0.2995 0.0714 4.7) | |
| Lab | lab(17.68 23.37 2.16) | color: lab(17.68 23.37 2.16) | |
| LCH | lch(17.68 23.47 5.28) | color: lch(17.68 23.47 5.28) |
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)
#363626 — rgb(54, 54, 38)
Deuteranopia (Green-blind)
#393C25 — rgb(57, 60, 37)
Tritanopia (Blue-blind)
#482323 — rgb(72, 35, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(343, 45%, 20%);
text
color: hsl(343, 45%, 20%);
border
border: 2px solid hsl(343, 45%, 20%);
gradient light
background: linear-gradient(to right, hsl(343, 45%, 40%), hsl(343, 45%, 20%));
gradient dark
background: linear-gradient(to right, hsl(343, 45%, 20%), hsl(343, 45%, 0%))
hex
background-color: #4A1C29;
tailwind
bg-[hsl(343,45%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(343, 45%, 20%, 0.4);
css variable
--color-primary: hsl(343, 45%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(343, 45%, 20%)?
HEX: #4A1C29 | RGB: rgb(74, 28, 41) | CMYK: 0%, 62%, 45%, 71% | HSV: 343°, 62%, 29%. Copy any format from the conversion table above.
What colors go well with #4A1C29?
The complementary color is HSL(163, 45%, 20%). For a triadic harmony, use hues 343°, 103°, and 223°. For analogous combinations, try hues 313° and 13°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(343, 45%, 20%) in CSS?
As HSL: color: hsl(343, 45%, 20%); — As HEX: color: #4A1C29; — As RGB: color: rgb(74, 28, 41); — Tailwind CSS: bg-[hsl(343,45%,20%)] — CSS variable: --color-primary: hsl(343, 45%, 20%);