HSL(2, 5%, 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(2,5%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 5%, 58%) | color: hsl(2, 5%, 58%) | |
| HEX | #998F8F | color: #998F8F | |
| RGB | rgb(153, 143, 143) | color: rgb(153, 143, 143) | |
| CMYK | cmyk(0%, 7%, 7%, 40%) | — | |
| HSV | hsv(0, 7%, 60%) | — | |
| HWB | hwb(0 56% 40%) | color: hwb(0 56% 40%) | |
| OKLCH | oklch(0.6587 0.0119 17.46) | color: oklch(0.6587 0.0119 17.46) | |
| Lab | lab(60.25 3.7 1.33) | color: lab(60.25 3.7 1.33) | |
| LCH | lch(60.25 3.93 19.77) | color: lch(60.25 3.93 19.77) |
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)
#95958F — rgb(149, 149, 143)
Deuteranopia (Green-blind)
#95968F — rgb(149, 150, 143)
Tritanopia (Blue-blind)
#998F8F — rgb(153, 143, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 5%, 58%);
text
color: hsl(2, 5%, 58%);
border
border: 2px solid hsl(2, 5%, 58%);
gradient light
background: linear-gradient(to right, hsl(2, 5%, 78%), hsl(2, 5%, 58%));
gradient dark
background: linear-gradient(to right, hsl(2, 5%, 58%), hsl(2, 5%, 38%))
hex
background-color: #998F8F;
tailwind
bg-[hsl(2,5%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 5%, 58%, 0.4);
css variable
--color-primary: hsl(2, 5%, 58%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(2, 5%, 58%)?
HEX: #998F8F | RGB: rgb(153, 143, 143) | CMYK: 0%, 7%, 7%, 40% | HSV: 0°, 7%, 60%. Copy any format from the conversion table above.
What colors go well with #998F8F?
The complementary color is HSL(182, 5%, 58%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 5%, 58%) in CSS?
As HSL: color: hsl(2, 5%, 58%); — As HEX: color: #998F8F; — As RGB: color: rgb(153, 143, 143); — Tailwind CSS: bg-[hsl(2,5%,58%)] — CSS variable: --color-primary: hsl(2, 5%, 58%);