HSL(334, 20%, 48%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(334,20%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(334, 20%, 48%) | color: hsl(334, 20%, 48%) | |
| HEX | #936277 | color: #936277 | |
| RGB | rgb(147, 98, 119) | color: rgb(147, 98, 119) | |
| CMYK | cmyk(0%, 33%, 19%, 42%) | — | |
| HSV | hsv(334, 33%, 58%) | — | |
| HWB | hwb(334 39% 42%) | color: hwb(334 39% 42%) | |
| OKLCH | oklch(0.5549 0.0694 352.26) | color: oklch(0.5549 0.0694 352.26) | |
| Lab | lab(47.33 23.08 -3.64) | color: lab(47.33 23.08 -3.64) | |
| LCH | lch(47.33 23.37 351.04) | color: lch(47.33 23.37 351.04) |
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)
#7E7D72 — rgb(126, 125, 114)
Deuteranopia (Green-blind)
#818471 — rgb(129, 132, 113)
Tritanopia (Blue-blind)
#916E6D — rgb(145, 110, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(334, 20%, 48%);
text
color: hsl(334, 20%, 48%);
border
border: 2px solid hsl(334, 20%, 48%);
gradient light
background: linear-gradient(to right, hsl(334, 20%, 68%), hsl(334, 20%, 48%));
gradient dark
background: linear-gradient(to right, hsl(334, 20%, 48%), hsl(334, 20%, 28%))
hex
background-color: #936277;
tailwind
bg-[hsl(334,20%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(334, 20%, 48%, 0.4);
css variable
--color-primary: hsl(334, 20%, 48%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(334, 20%, 48%)?
HEX: #936277 | RGB: rgb(147, 98, 119) | CMYK: 0%, 33%, 19%, 42% | HSV: 334°, 33%, 58%. Copy any format from the conversion table above.
What colors go well with #936277?
The complementary color is HSL(154, 20%, 48%). For a triadic harmony, use hues 334°, 94°, and 214°. For analogous combinations, try hues 304° and 4°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(334, 20%, 48%) in CSS?
As HSL: color: hsl(334, 20%, 48%); — As HEX: color: #936277; — As RGB: color: rgb(147, 98, 119); — Tailwind CSS: bg-[hsl(334,20%,48%)] — CSS variable: --color-primary: hsl(334, 20%, 48%);