HSL(338, 10%, 57%)
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(338,10%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 10%, 57%) | color: hsl(338, 10%, 57%) | |
| HEX | #9C868E | color: #9C868E | |
| RGB | rgb(156, 134, 142) | color: rgb(156, 134, 142) | |
| CMYK | cmyk(0%, 14%, 9%, 39%) | — | |
| HSV | hsv(338, 14%, 61%) | — | |
| HWB | hwb(338 52% 39%) | color: hwb(338 52% 39%) | |
| OKLCH | oklch(0.6425 0.0289 354.01) | color: oklch(0.6425 0.0289 354.01) | |
| Lab | lab(58.11 9.74 -1.19) | color: lab(58.11 9.74 -1.19) | |
| LCH | lch(58.11 9.81 353.03) | color: lch(58.11 9.81 353.03) |
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)
#92928C — rgb(146, 146, 140)
Deuteranopia (Green-blind)
#94958C — rgb(148, 149, 140)
Tritanopia (Blue-blind)
#9B8B8A — rgb(155, 139, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 10%, 57%);
text
color: hsl(338, 10%, 57%);
border
border: 2px solid hsl(338, 10%, 57%);
gradient light
background: linear-gradient(to right, hsl(338, 10%, 77%), hsl(338, 10%, 57%));
gradient dark
background: linear-gradient(to right, hsl(338, 10%, 57%), hsl(338, 10%, 37%))
hex
background-color: #9C868E;
tailwind
bg-[hsl(338,10%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 10%, 57%, 0.4);
css variable
--color-primary: hsl(338, 10%, 57%);
Related Colors
Use Cases for Grayish Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 10%, 57%)?
HEX: #9C868E | RGB: rgb(156, 134, 142) | CMYK: 0%, 14%, 9%, 39% | HSV: 338°, 14%, 61%. Copy any format from the conversion table above.
What colors go well with #9C868E?
The complementary color is HSL(158, 10%, 57%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 10%, 57%) in CSS?
As HSL: color: hsl(338, 10%, 57%); — As HEX: color: #9C868E; — As RGB: color: rgb(156, 134, 142); — Tailwind CSS: bg-[hsl(338,10%,57%)] — CSS variable: --color-primary: hsl(338, 10%, 57%);