HSL(338, 17%, 41%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(338,17%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 17%, 41%) | color: hsl(338, 17%, 41%) | |
| HEX | #7A5764 | color: #7A5764 | |
| RGB | rgb(122, 87, 100) | color: rgb(122, 87, 100) | |
| CMYK | cmyk(0%, 29%, 18%, 52%) | — | |
| HSV | hsv(338, 29%, 48%) | — | |
| HWB | hwb(338 34% 52%) | color: hwb(338 34% 52%) | |
| OKLCH | oklch(0.4979 0.0498 355) | color: oklch(0.4979 0.0498 355) | |
| Lab | lab(41.02 16.62 -1.73) | color: lab(41.02 16.62 -1.73) | |
| LCH | lch(41.02 16.71 354.06) | color: lch(41.02 16.71 354.06) |
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)
#6B6B61 — rgb(107, 107, 97)
Deuteranopia (Green-blind)
#6D7060 — rgb(109, 112, 96)
Tritanopia (Blue-blind)
#785E5E — rgb(120, 94, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 17%, 41%);
text
color: hsl(338, 17%, 41%);
border
border: 2px solid hsl(338, 17%, 41%);
gradient light
background: linear-gradient(to right, hsl(338, 17%, 61%), hsl(338, 17%, 41%));
gradient dark
background: linear-gradient(to right, hsl(338, 17%, 41%), hsl(338, 17%, 21%))
hex
background-color: #7A5764;
tailwind
bg-[hsl(338,17%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 17%, 41%, 0.4);
css variable
--color-primary: hsl(338, 17%, 41%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 17%, 41%)?
HEX: #7A5764 | RGB: rgb(122, 87, 100) | CMYK: 0%, 29%, 18%, 52% | HSV: 338°, 29%, 48%. Copy any format from the conversion table above.
What colors go well with #7A5764?
The complementary color is HSL(158, 17%, 41%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 17%, 41%) in CSS?
As HSL: color: hsl(338, 17%, 41%); — As HEX: color: #7A5764; — As RGB: color: rgb(122, 87, 100); — Tailwind CSS: bg-[hsl(338,17%,41%)] — CSS variable: --color-primary: hsl(338, 17%, 41%);