HSL(331, 10%, 50%)
Grayish Pink — Pink color
Adjust Color
Color Information
Color Name
Grayish Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(331,10%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 10%, 50%) | color: hsl(331, 10%, 50%) | |
| HEX | #8C737F | color: #8C737F | |
| RGB | rgb(140, 115, 127) | color: rgb(140, 115, 127) | |
| CMYK | cmyk(0%, 18%, 9%, 45%) | — | |
| HSV | hsv(331, 18%, 55%) | — | |
| HWB | hwb(331 45% 45%) | color: hwb(331 45% 45%) | |
| OKLCH | oklch(0.5831 0.0356 347.75) | color: oklch(0.5831 0.0356 347.75) | |
| Lab | lab(51.12 11.9 -2.9) | color: lab(51.12 11.9 -2.9) | |
| LCH | lch(51.12 12.25 346.3) | color: lch(51.12 12.25 346.3) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#81817C — rgb(129, 129, 124)
Deuteranopia (Green-blind)
#83857B — rgb(131, 133, 123)
Tritanopia (Blue-blind)
#8B7A79 — rgb(139, 122, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 10%, 50%);
text
color: hsl(331, 10%, 50%);
border
border: 2px solid hsl(331, 10%, 50%);
gradient light
background: linear-gradient(to right, hsl(331, 10%, 70%), hsl(331, 10%, 50%));
gradient dark
background: linear-gradient(to right, hsl(331, 10%, 50%), hsl(331, 10%, 30%))
hex
background-color: #8C737F;
tailwind
bg-[hsl(331,10%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 10%, 50%, 0.4);
css variable
--color-primary: hsl(331, 10%, 50%);
Related Colors
Use Cases for Grayish Pink
Frequently Asked Questions
What are all the color codes for HSL(331, 10%, 50%)?
HEX: #8C737F | RGB: rgb(140, 115, 127) | CMYK: 0%, 18%, 9%, 45% | HSV: 331°, 18%, 55%. Copy any format from the conversion table above.
What colors go well with #8C737F?
The complementary color is HSL(151, 10%, 50%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(331, 10%, 50%) in CSS?
As HSL: color: hsl(331, 10%, 50%); — As HEX: color: #8C737F; — As RGB: color: rgb(140, 115, 127); — Tailwind CSS: bg-[hsl(331,10%,50%)] — CSS variable: --color-primary: hsl(331, 10%, 50%);