HSL(278, 9%, 59%)
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,9%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 9%, 59%) | color: hsl(278, 9%, 59%) | |
| HEX | #998DA0 | color: #998DA0 | |
| RGB | rgb(153, 141, 160) | color: rgb(153, 141, 160) | |
| CMYK | cmyk(4%, 12%, 0%, 37%) | — | |
| HSV | hsv(278, 12%, 63%) | — | |
| HWB | hwb(278 55% 37%) | color: hwb(278 55% 37%) | |
| OKLCH | oklch(0.6601 0.0309 313.25) | color: oklch(0.6601 0.0309 313.25) | |
| Lab | lab(60.21 8.13 -8.41) | color: lab(60.21 8.13 -8.41) | |
| LCH | lch(60.21 11.7 314.03) | color: lch(60.21 11.7 314.03) |
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)
#94949B — rgb(148, 148, 155)
Deuteranopia (Green-blind)
#95959A — rgb(149, 149, 154)
Tritanopia (Blue-blind)
#989897 — rgb(152, 152, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 9%, 59%);
text
color: hsl(278, 9%, 59%);
border
border: 2px solid hsl(278, 9%, 59%);
gradient light
background: linear-gradient(to right, hsl(278, 9%, 79%), hsl(278, 9%, 59%));
gradient dark
background: linear-gradient(to right, hsl(278, 9%, 59%), hsl(278, 9%, 39%))
hex
background-color: #998DA0;
tailwind
bg-[hsl(278,9%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 9%, 59%, 0.4);
css variable
--color-primary: hsl(278, 9%, 59%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(278, 9%, 59%)?
HEX: #998DA0 | RGB: rgb(153, 141, 160) | CMYK: 4%, 12%, 0%, 37% | HSV: 278°, 12%, 63%. Copy any format from the conversion table above.
What colors go well with #998DA0?
The complementary color is HSL(98, 9%, 59%). 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, 9%, 59%) in CSS?
As HSL: color: hsl(278, 9%, 59%); — As HEX: color: #998DA0; — As RGB: color: rgb(153, 141, 160); — Tailwind CSS: bg-[hsl(278,9%,59%)] — CSS variable: --color-primary: hsl(278, 9%, 59%);