HSL(312, 2%, 57%)
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(312,2%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 2%, 57%) | color: hsl(312, 2%, 57%) | |
| HEX | #948F93 | color: #948F93 | |
| RGB | rgb(148, 143, 147) | color: rgb(148, 143, 147) | |
| CMYK | cmyk(0%, 3%, 1%, 42%) | — | |
| HSV | hsv(312, 3%, 58%) | — | |
| HWB | hwb(312 56% 42%) | color: hwb(312 56% 42%) | |
| OKLCH | oklch(0.6556 0.0083 332.19) | color: oklch(0.6556 0.0083 332.19) | |
| Lab | lab(59.93 2.61 -1.46) | color: lab(59.93 2.61 -1.46) | |
| LCH | lch(59.93 2.99 330.78) | color: lch(59.93 2.99 330.78) |
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)
#929292 — rgb(146, 146, 146)
Deuteranopia (Green-blind)
#929392 — rgb(146, 147, 146)
Tritanopia (Blue-blind)
#949191 — rgb(148, 145, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 2%, 57%);
text
color: hsl(312, 2%, 57%);
border
border: 2px solid hsl(312, 2%, 57%);
gradient light
background: linear-gradient(to right, hsl(312, 2%, 77%), hsl(312, 2%, 57%));
gradient dark
background: linear-gradient(to right, hsl(312, 2%, 57%), hsl(312, 2%, 37%))
hex
background-color: #948F93;
tailwind
bg-[hsl(312,2%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 2%, 57%, 0.4);
css variable
--color-primary: hsl(312, 2%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(312, 2%, 57%)?
HEX: #948F93 | RGB: rgb(148, 143, 147) | CMYK: 0%, 3%, 1%, 42% | HSV: 312°, 3%, 58%. Copy any format from the conversion table above.
What colors go well with #948F93?
The complementary color is HSL(132, 2%, 57%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 2%, 57%) in CSS?
As HSL: color: hsl(312, 2%, 57%); — As HEX: color: #948F93; — As RGB: color: rgb(148, 143, 147); — Tailwind CSS: bg-[hsl(312,2%,57%)] — CSS variable: --color-primary: hsl(312, 2%, 57%);