HSL(317, 35%, 48%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,35%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 35%, 48%) | color: hsl(317, 35%, 48%) | |
| HEX | #A5508D | color: #A5508D | |
| RGB | rgb(165, 80, 141) | color: rgb(165, 80, 141) | |
| CMYK | cmyk(0%, 52%, 15%, 35%) | — | |
| HSV | hsv(317, 52%, 65%) | — | |
| HWB | hwb(317 31% 35%) | color: hwb(317 31% 35%) | |
| OKLCH | oklch(0.5565 0.1349 339.22) | color: oklch(0.5565 0.1349 339.22) | |
| Lab | lab(46.53 42.94 -17.84) | color: lab(46.53 42.94 -17.84) | |
| LCH | lch(46.53 46.5 337.44) | color: lch(46.53 46.5 337.44) |
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)
#807F7E — rgb(128, 127, 126)
Deuteranopia (Green-blind)
#858C7B — rgb(133, 140, 123)
Tritanopia (Blue-blind)
#A17370 — rgb(161, 115, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 35%, 48%);
text
color: hsl(317, 35%, 48%);
border
border: 2px solid hsl(317, 35%, 48%);
gradient light
background: linear-gradient(to right, hsl(317, 35%, 68%), hsl(317, 35%, 48%));
gradient dark
background: linear-gradient(to right, hsl(317, 35%, 48%), hsl(317, 35%, 28%))
hex
background-color: #A5508D;
tailwind
bg-[hsl(317,35%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 35%, 48%, 0.4);
css variable
--color-primary: hsl(317, 35%, 48%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 35%, 48%)?
HEX: #A5508D | RGB: rgb(165, 80, 141) | CMYK: 0%, 52%, 15%, 35% | HSV: 317°, 52%, 65%. Copy any format from the conversion table above.
What colors go well with #A5508D?
The complementary color is HSL(137, 35%, 48%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(317, 35%, 48%) in CSS?
As HSL: color: hsl(317, 35%, 48%); — As HEX: color: #A5508D; — As RGB: color: rgb(165, 80, 141); — Tailwind CSS: bg-[hsl(317,35%,48%)] — CSS variable: --color-primary: hsl(317, 35%, 48%);