HSL(333, 22%, 40%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(333,22%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(333, 22%, 40%) | color: hsl(333, 22%, 40%) | |
| HEX | #7C5064 | color: #7C5064 | |
| RGB | rgb(124, 80, 100) | color: rgb(124, 80, 100) | |
| CMYK | cmyk(0%, 35%, 19%, 51%) | — | |
| HSV | hsv(333, 35%, 49%) | — | |
| HWB | hwb(333 32% 51%) | color: hwb(333 32% 51%) | |
| OKLCH | oklch(0.4867 0.0651 350.97) | color: oklch(0.4867 0.0651 350.97) | |
| Lab | lab(39.48 21.6 -3.96) | color: lab(39.48 21.6 -3.96) | |
| LCH | lch(39.48 21.96 349.61) | color: lch(39.48 21.96 349.61) |
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)
#69695F — rgb(105, 105, 95)
Deuteranopia (Green-blind)
#6C6F5E — rgb(108, 111, 94)
Tritanopia (Blue-blind)
#7A5B5B — rgb(122, 91, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(333, 22%, 40%);
text
color: hsl(333, 22%, 40%);
border
border: 2px solid hsl(333, 22%, 40%);
gradient light
background: linear-gradient(to right, hsl(333, 22%, 60%), hsl(333, 22%, 40%));
gradient dark
background: linear-gradient(to right, hsl(333, 22%, 40%), hsl(333, 22%, 20%))
hex
background-color: #7C5064;
tailwind
bg-[hsl(333,22%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(333, 22%, 40%, 0.4);
css variable
--color-primary: hsl(333, 22%, 40%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(333, 22%, 40%)?
HEX: #7C5064 | RGB: rgb(124, 80, 100) | CMYK: 0%, 35%, 19%, 51% | HSV: 333°, 35%, 49%. Copy any format from the conversion table above.
What colors go well with #7C5064?
The complementary color is HSL(153, 22%, 40%). For a triadic harmony, use hues 333°, 93°, and 213°. For analogous combinations, try hues 303° and 3°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(333, 22%, 40%) in CSS?
As HSL: color: hsl(333, 22%, 40%); — As HEX: color: #7C5064; — As RGB: color: rgb(124, 80, 100); — Tailwind CSS: bg-[hsl(333,22%,40%)] — CSS variable: --color-primary: hsl(333, 22%, 40%);