HSL(296, 3%, 57%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(296,3%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 3%, 57%) | color: hsl(296, 3%, 57%) | |
| HEX | #948E95 | color: #948E95 | |
| RGB | rgb(148, 142, 149) | color: rgb(148, 142, 149) | |
| CMYK | cmyk(1%, 5%, 0%, 42%) | — | |
| HSV | hsv(291, 5%, 58%) | — | |
| HWB | hwb(291 55% 42%) | color: hwb(291 55% 42%) | |
| OKLCH | oklch(0.6541 0.0124 321.34) | color: oklch(0.6541 0.0124 321.34) | |
| Lab | lab(59.72 3.56 -2.92) | color: lab(59.72 3.56 -2.92) | |
| LCH | lch(59.72 4.6 320.64) | color: lch(59.72 4.6 320.64) |
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)
#919193 — rgb(145, 145, 147)
Deuteranopia (Green-blind)
#929293 — rgb(146, 146, 147)
Tritanopia (Blue-blind)
#949292 — rgb(148, 146, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 3%, 57%);
text
color: hsl(296, 3%, 57%);
border
border: 2px solid hsl(296, 3%, 57%);
gradient light
background: linear-gradient(to right, hsl(296, 3%, 77%), hsl(296, 3%, 57%));
gradient dark
background: linear-gradient(to right, hsl(296, 3%, 57%), hsl(296, 3%, 37%))
hex
background-color: #948E95;
tailwind
bg-[hsl(296,3%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 3%, 57%, 0.4);
css variable
--color-primary: hsl(296, 3%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(296, 3%, 57%)?
HEX: #948E95 | RGB: rgb(148, 142, 149) | CMYK: 1%, 5%, 0%, 42% | HSV: 291°, 5%, 58%. Copy any format from the conversion table above.
What colors go well with #948E95?
The complementary color is HSL(116, 3%, 57%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 3%, 57%) in CSS?
As HSL: color: hsl(296, 3%, 57%); — As HEX: color: #948E95; — As RGB: color: rgb(148, 142, 149); — Tailwind CSS: bg-[hsl(296,3%,57%)] — CSS variable: --color-primary: hsl(296, 3%, 57%);