HSL(278, 8%, 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(278,8%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 8%, 57%) | color: hsl(278, 8%, 57%) | |
| HEX | #94899A | color: #94899A | |
| RGB | rgb(148, 137, 154) | color: rgb(148, 137, 154) | |
| CMYK | cmyk(4%, 11%, 0%, 40%) | — | |
| HSV | hsv(279, 11%, 60%) | — | |
| HWB | hwb(279 53% 40%) | color: hwb(279 53% 40%) | |
| OKLCH | oklch(0.6453 0.028 313.87) | color: oklch(0.6453 0.028 313.87) | |
| Lab | lab(58.53 7.4 -7.54) | color: lab(58.53 7.4 -7.54) | |
| LCH | lch(58.53 10.56 314.46) | color: lch(58.53 10.56 314.46) |
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)
#8F8F96 — rgb(143, 143, 150)
Deuteranopia (Green-blind)
#909195 — rgb(144, 145, 149)
Tritanopia (Blue-blind)
#939392 — rgb(147, 147, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 8%, 57%);
text
color: hsl(278, 8%, 57%);
border
border: 2px solid hsl(278, 8%, 57%);
gradient light
background: linear-gradient(to right, hsl(278, 8%, 77%), hsl(278, 8%, 57%));
gradient dark
background: linear-gradient(to right, hsl(278, 8%, 57%), hsl(278, 8%, 37%))
hex
background-color: #94899A;
tailwind
bg-[hsl(278,8%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 8%, 57%, 0.4);
css variable
--color-primary: hsl(278, 8%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(278, 8%, 57%)?
HEX: #94899A | RGB: rgb(148, 137, 154) | CMYK: 4%, 11%, 0%, 40% | HSV: 279°, 11%, 60%. Copy any format from the conversion table above.
What colors go well with #94899A?
The complementary color is HSL(98, 8%, 57%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 8%, 57%) in CSS?
As HSL: color: hsl(278, 8%, 57%); — As HEX: color: #94899A; — As RGB: color: rgb(148, 137, 154); — Tailwind CSS: bg-[hsl(278,8%,57%)] — CSS variable: --color-primary: hsl(278, 8%, 57%);