HSL(318, 30%, 42%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,30%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 30%, 42%) | color: hsl(318, 30%, 42%) | |
| HEX | #8B4B78 | color: #8B4B78 | |
| RGB | rgb(139, 75, 120) | color: rgb(139, 75, 120) | |
| CMYK | cmyk(0%, 46%, 14%, 45%) | — | |
| HSV | hsv(318, 46%, 55%) | — | |
| HWB | hwb(318 30% 45%) | color: hwb(318 30% 45%) | |
| OKLCH | oklch(0.505 0.1046 339.32) | color: oklch(0.505 0.1046 339.32) | |
| Lab | lab(41.02 33.44 -13.81) | color: lab(41.02 33.44 -13.81) | |
| LCH | lch(41.02 36.18 337.56) | color: lch(41.02 36.18 337.56) |
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)
#6F6F6D — rgb(111, 111, 109)
Deuteranopia (Green-blind)
#73786B — rgb(115, 120, 107)
Tritanopia (Blue-blind)
#886563 — rgb(136, 101, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 30%, 42%);
text
color: hsl(318, 30%, 42%);
border
border: 2px solid hsl(318, 30%, 42%);
gradient light
background: linear-gradient(to right, hsl(318, 30%, 62%), hsl(318, 30%, 42%));
gradient dark
background: linear-gradient(to right, hsl(318, 30%, 42%), hsl(318, 30%, 22%))
hex
background-color: #8B4B78;
tailwind
bg-[hsl(318,30%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 30%, 42%, 0.4);
css variable
--color-primary: hsl(318, 30%, 42%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 30%, 42%)?
HEX: #8B4B78 | RGB: rgb(139, 75, 120) | CMYK: 0%, 46%, 14%, 45% | HSV: 318°, 46%, 55%. Copy any format from the conversion table above.
What colors go well with #8B4B78?
The complementary color is HSL(138, 30%, 42%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(318, 30%, 42%) in CSS?
As HSL: color: hsl(318, 30%, 42%); — As HEX: color: #8B4B78; — As RGB: color: rgb(139, 75, 120); — Tailwind CSS: bg-[hsl(318,30%,42%)] — CSS variable: --color-primary: hsl(318, 30%, 42%);