HSL(343, 20%, 40%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(343,20%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(343, 20%, 40%) | color: hsl(343, 20%, 40%) | |
| HEX | #7A525D | color: #7A525D | |
| RGB | rgb(122, 82, 93) | color: rgb(122, 82, 93) | |
| CMYK | cmyk(0%, 33%, 24%, 52%) | — | |
| HSV | hsv(344, 33%, 48%) | — | |
| HWB | hwb(344 32% 52%) | color: hwb(344 32% 52%) | |
| OKLCH | oklch(0.4857 0.0556 1.38) | color: oklch(0.4857 0.0556 1.38) | |
| Lab | lab(39.52 18.44 0.41) | color: lab(39.52 18.44 0.41) | |
| LCH | lch(39.52 18.44 1.27) | color: lch(39.52 18.44 1.27) |
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)
#69685A — rgb(105, 104, 90)
Deuteranopia (Green-blind)
#6B6E5A — rgb(107, 110, 90)
Tritanopia (Blue-blind)
#785858 — rgb(120, 88, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(343, 20%, 40%);
text
color: hsl(343, 20%, 40%);
border
border: 2px solid hsl(343, 20%, 40%);
gradient light
background: linear-gradient(to right, hsl(343, 20%, 60%), hsl(343, 20%, 40%));
gradient dark
background: linear-gradient(to right, hsl(343, 20%, 40%), hsl(343, 20%, 20%))
hex
background-color: #7A525D;
tailwind
bg-[hsl(343,20%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(343, 20%, 40%, 0.4);
css variable
--color-primary: hsl(343, 20%, 40%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(343, 20%, 40%)?
HEX: #7A525D | RGB: rgb(122, 82, 93) | CMYK: 0%, 33%, 24%, 52% | HSV: 344°, 33%, 48%. Copy any format from the conversion table above.
What colors go well with #7A525D?
The complementary color is HSL(163, 20%, 40%). 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, 20%, 40%) in CSS?
As HSL: color: hsl(343, 20%, 40%); — As HEX: color: #7A525D; — As RGB: color: rgb(122, 82, 93); — Tailwind CSS: bg-[hsl(343,20%,40%)] — CSS variable: --color-primary: hsl(343, 20%, 40%);