HSL(147, 2%, 56%)
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(147,2%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(147, 2%, 56%) | color: hsl(147, 2%, 56%) | |
| HEX | #8D918F | color: #8D918F | |
| RGB | rgb(141, 145, 143) | color: rgb(141, 145, 143) | |
| CMYK | cmyk(3%, 0%, 1%, 43%) | — | |
| HSV | hsv(150, 3%, 57%) | — | |
| HWB | hwb(150 55% 43%) | color: hwb(150 55% 43%) | |
| OKLCH | oklch(0.6527 0.0055 164.92) | color: oklch(0.6527 0.0055 164.92) | |
| Lab | lab(59.8 -1.85 0.55) | color: lab(59.8 -1.85 0.55) | |
| LCH | lch(59.8 1.93 163.44) | color: lch(59.8 1.93 163.44) |
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)
#8F8F8F — rgb(143, 143, 143)
Deuteranopia (Green-blind)
#8F8E90 — rgb(143, 142, 144)
Tritanopia (Blue-blind)
#8D9090 — rgb(141, 144, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(147, 2%, 56%);
text
color: hsl(147, 2%, 56%);
border
border: 2px solid hsl(147, 2%, 56%);
gradient light
background: linear-gradient(to right, hsl(147, 2%, 76%), hsl(147, 2%, 56%));
gradient dark
background: linear-gradient(to right, hsl(147, 2%, 56%), hsl(147, 2%, 36%))
hex
background-color: #8D918F;
tailwind
bg-[hsl(147,2%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(147, 2%, 56%, 0.4);
css variable
--color-primary: hsl(147, 2%, 56%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(147, 2%, 56%)?
HEX: #8D918F | RGB: rgb(141, 145, 143) | CMYK: 3%, 0%, 1%, 43% | HSV: 150°, 3%, 57%. Copy any format from the conversion table above.
What colors go well with #8D918F?
The complementary color is HSL(327, 2%, 56%). For a triadic harmony, use hues 147°, 267°, and 27°. For analogous combinations, try hues 117° and 177°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(147, 2%, 56%) in CSS?
As HSL: color: hsl(147, 2%, 56%); — As HEX: color: #8D918F; — As RGB: color: rgb(141, 145, 143); — Tailwind CSS: bg-[hsl(147,2%,56%)] — CSS variable: --color-primary: hsl(147, 2%, 56%);