HSL(317, 26%, 43%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,26%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 26%, 43%) | color: hsl(317, 26%, 43%) | |
| HEX | #8A517A | color: #8A517A | |
| RGB | rgb(138, 81, 122) | color: rgb(138, 81, 122) | |
| CMYK | cmyk(0%, 41%, 12%, 46%) | — | |
| HSV | hsv(317, 41%, 54%) | — | |
| HWB | hwb(317 32% 46%) | color: hwb(317 32% 46%) | |
| OKLCH | oklch(0.5146 0.0942 338.14) | color: oklch(0.5146 0.0942 338.14) | |
| Lab | lab(42.3 30.07 -13.11) | color: lab(42.3 30.07 -13.11) | |
| LCH | lch(42.3 32.8 336.44) | color: lch(42.3 32.8 336.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)
#717170 — rgb(113, 113, 112)
Deuteranopia (Green-blind)
#75796E — rgb(117, 121, 110)
Tritanopia (Blue-blind)
#876867 — rgb(135, 104, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 26%, 43%);
text
color: hsl(317, 26%, 43%);
border
border: 2px solid hsl(317, 26%, 43%);
gradient light
background: linear-gradient(to right, hsl(317, 26%, 63%), hsl(317, 26%, 43%));
gradient dark
background: linear-gradient(to right, hsl(317, 26%, 43%), hsl(317, 26%, 23%))
hex
background-color: #8A517A;
tailwind
bg-[hsl(317,26%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 26%, 43%, 0.4);
css variable
--color-primary: hsl(317, 26%, 43%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 26%, 43%)?
HEX: #8A517A | RGB: rgb(138, 81, 122) | CMYK: 0%, 41%, 12%, 46% | HSV: 317°, 41%, 54%. Copy any format from the conversion table above.
What colors go well with #8A517A?
The complementary color is HSL(137, 26%, 43%). 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, 26%, 43%) in CSS?
As HSL: color: hsl(317, 26%, 43%); — As HEX: color: #8A517A; — As RGB: color: rgb(138, 81, 122); — Tailwind CSS: bg-[hsl(317,26%,43%)] — CSS variable: --color-primary: hsl(317, 26%, 43%);