HSL(23, 6%, 58%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(23,6%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(23, 6%, 58%) | color: hsl(23, 6%, 58%) | |
| HEX | #9A928D | color: #9A928D | |
| RGB | rgb(154, 146, 141) | color: rgb(154, 146, 141) | |
| CMYK | cmyk(0%, 5%, 8%, 40%) | — | |
| HSV | hsv(23, 8%, 60%) | — | |
| HWB | hwb(23 55% 40%) | color: hwb(23 55% 40%) | |
| OKLCH | oklch(0.6654 0.012 54.41) | color: oklch(0.6654 0.012 54.41) | |
| Lab | lab(61.09 2.03 3.7) | color: lab(61.09 2.03 3.7) | |
| LCH | lch(61.09 4.22 61.25) | color: lch(61.09 4.22 61.25) |
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)
#97968E — rgb(151, 150, 142)
Deuteranopia (Green-blind)
#97988F — rgb(151, 152, 143)
Tritanopia (Blue-blind)
#9A8F8F — rgb(154, 143, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(23, 6%, 58%);
text
color: hsl(23, 6%, 58%);
border
border: 2px solid hsl(23, 6%, 58%);
gradient light
background: linear-gradient(to right, hsl(23, 6%, 78%), hsl(23, 6%, 58%));
gradient dark
background: linear-gradient(to right, hsl(23, 6%, 58%), hsl(23, 6%, 38%))
hex
background-color: #9A928D;
tailwind
bg-[hsl(23,6%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(23, 6%, 58%, 0.4);
css variable
--color-primary: hsl(23, 6%, 58%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(23, 6%, 58%)?
HEX: #9A928D | RGB: rgb(154, 146, 141) | CMYK: 0%, 5%, 8%, 40% | HSV: 23°, 8%, 60%. Copy any format from the conversion table above.
What colors go well with #9A928D?
The complementary color is HSL(203, 6%, 58%). For a triadic harmony, use hues 23°, 143°, and 263°. For analogous combinations, try hues 353° and 53°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(23, 6%, 58%) in CSS?
As HSL: color: hsl(23, 6%, 58%); — As HEX: color: #9A928D; — As RGB: color: rgb(154, 146, 141); — Tailwind CSS: bg-[hsl(23,6%,58%)] — CSS variable: --color-primary: hsl(23, 6%, 58%);