HSL(318, 30%, 45%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,30%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 30%, 45%) | color: hsl(318, 30%, 45%) | |
| HEX | #955081 | color: #955081 | |
| RGB | rgb(149, 80, 129) | color: rgb(149, 80, 129) | |
| CMYK | cmyk(0%, 46%, 13%, 42%) | — | |
| HSV | hsv(317, 46%, 58%) | — | |
| HWB | hwb(317 31% 42%) | color: hwb(317 31% 42%) | |
| OKLCH | oklch(0.53 0.1117 339.04) | color: oklch(0.53 0.1117 339.04) | |
| Lab | lab(43.82 35.67 -14.93) | color: lab(43.82 35.67 -14.93) | |
| LCH | lch(43.82 38.67 337.29) | color: lch(43.82 38.67 337.29) |
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)
#777775 — rgb(119, 119, 117)
Deuteranopia (Green-blind)
#7B8072 — rgb(123, 128, 114)
Tritanopia (Blue-blind)
#926C6A — rgb(146, 108, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 30%, 45%);
text
color: hsl(318, 30%, 45%);
border
border: 2px solid hsl(318, 30%, 45%);
gradient light
background: linear-gradient(to right, hsl(318, 30%, 65%), hsl(318, 30%, 45%));
gradient dark
background: linear-gradient(to right, hsl(318, 30%, 45%), hsl(318, 30%, 25%))
hex
background-color: #955081;
tailwind
bg-[hsl(318,30%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 30%, 45%, 0.4);
css variable
--color-primary: hsl(318, 30%, 45%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 30%, 45%)?
HEX: #955081 | RGB: rgb(149, 80, 129) | CMYK: 0%, 46%, 13%, 42% | HSV: 317°, 46%, 58%. Copy any format from the conversion table above.
What colors go well with #955081?
The complementary color is HSL(138, 30%, 45%). 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%, 45%) in CSS?
As HSL: color: hsl(318, 30%, 45%); — As HEX: color: #955081; — As RGB: color: rgb(149, 80, 129); — Tailwind CSS: bg-[hsl(318,30%,45%)] — CSS variable: --color-primary: hsl(318, 30%, 45%);