HSL(12, 2%, 56%)
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(12,2%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 2%, 56%) | color: hsl(12, 2%, 56%) | |
| HEX | #918D8D | color: #918D8D | |
| RGB | rgb(145, 141, 141) | color: rgb(145, 141, 141) | |
| CMYK | cmyk(0%, 3%, 3%, 43%) | — | |
| HSV | hsv(0, 3%, 57%) | — | |
| HWB | hwb(0 55% 43%) | color: hwb(0 55% 43%) | |
| OKLCH | oklch(0.6468 0.0048 17.28) | color: oklch(0.6468 0.0048 17.28) | |
| Lab | lab(58.97 1.48 0.52) | color: lab(58.97 1.48 0.52) | |
| LCH | lch(58.97 1.57 19.36) | color: lch(58.97 1.57 19.36) |
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)
#8F8F8D — rgb(143, 143, 141)
Deuteranopia (Green-blind)
#90908D — rgb(144, 144, 141)
Tritanopia (Blue-blind)
#918D8D — rgb(145, 141, 141)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 2%, 56%);
text
color: hsl(12, 2%, 56%);
border
border: 2px solid hsl(12, 2%, 56%);
gradient light
background: linear-gradient(to right, hsl(12, 2%, 76%), hsl(12, 2%, 56%));
gradient dark
background: linear-gradient(to right, hsl(12, 2%, 56%), hsl(12, 2%, 36%))
hex
background-color: #918D8D;
tailwind
bg-[hsl(12,2%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 2%, 56%, 0.4);
css variable
--color-primary: hsl(12, 2%, 56%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(12, 2%, 56%)?
HEX: #918D8D | RGB: rgb(145, 141, 141) | CMYK: 0%, 3%, 3%, 43% | HSV: 0°, 3%, 57%. Copy any format from the conversion table above.
What colors go well with #918D8D?
The complementary color is HSL(192, 2%, 56%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(12, 2%, 56%) in CSS?
As HSL: color: hsl(12, 2%, 56%); — As HEX: color: #918D8D; — As RGB: color: rgb(145, 141, 141); — Tailwind CSS: bg-[hsl(12,2%,56%)] — CSS variable: --color-primary: hsl(12, 2%, 56%);