HSL(332, 38%, 40%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(332,38%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(332, 38%, 40%) | color: hsl(332, 38%, 40%) | |
| HEX | #8D3F63 | color: #8D3F63 | |
| RGB | rgb(141, 63, 99) | color: rgb(141, 63, 99) | |
| CMYK | cmyk(0%, 55%, 30%, 45%) | — | |
| HSV | hsv(332, 55%, 55%) | — | |
| HWB | hwb(332 25% 45%) | color: hwb(332 25% 45%) | |
| OKLCH | oklch(0.4809 0.1138 353.31) | color: oklch(0.4809 0.1138 353.31) | |
| Lab | lab(38.06 37.29 -5.19) | color: lab(38.06 37.29 -5.19) | |
| LCH | lch(38.06 37.65 352.08) | color: lch(38.06 37.65 352.08) |
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)
#6B6B5A — rgb(107, 107, 90)
Deuteranopia (Green-blind)
#707658 — rgb(112, 118, 88)
Tritanopia (Blue-blind)
#895352 — rgb(137, 83, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(332, 38%, 40%);
text
color: hsl(332, 38%, 40%);
border
border: 2px solid hsl(332, 38%, 40%);
gradient light
background: linear-gradient(to right, hsl(332, 38%, 60%), hsl(332, 38%, 40%));
gradient dark
background: linear-gradient(to right, hsl(332, 38%, 40%), hsl(332, 38%, 20%))
hex
background-color: #8D3F63;
tailwind
bg-[hsl(332,38%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(332, 38%, 40%, 0.4);
css variable
--color-primary: hsl(332, 38%, 40%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(332, 38%, 40%)?
HEX: #8D3F63 | RGB: rgb(141, 63, 99) | CMYK: 0%, 55%, 30%, 45% | HSV: 332°, 55%, 55%. Copy any format from the conversion table above.
What colors go well with #8D3F63?
The complementary color is HSL(152, 38%, 40%). For a triadic harmony, use hues 332°, 92°, and 212°. For analogous combinations, try hues 302° and 2°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(332, 38%, 40%) in CSS?
As HSL: color: hsl(332, 38%, 40%); — As HEX: color: #8D3F63; — As RGB: color: rgb(141, 63, 99); — Tailwind CSS: bg-[hsl(332,38%,40%)] — CSS variable: --color-primary: hsl(332, 38%, 40%);