HSL(243, 4%, 61%)
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(243,4%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(243, 4%, 61%) | color: hsl(243, 4%, 61%) | |
| HEX | #9898A0 | color: #9898A0 | |
| RGB | rgb(152, 152, 160) | color: rgb(152, 152, 160) | |
| CMYK | cmyk(5%, 5%, 0%, 37%) | — | |
| HSV | hsv(240, 5%, 63%) | — | |
| HWB | hwb(240 60% 37%) | color: hwb(240 60% 37%) | |
| OKLCH | oklch(0.6822 0.0116 286.09) | color: oklch(0.6822 0.0116 286.09) | |
| Lab | lab(63.07 1.58 -4.18) | color: lab(63.07 1.58 -4.18) | |
| LCH | lch(63.07 4.47 290.71) | color: lch(63.07 4.47 290.71) |
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)
#98989E — rgb(152, 152, 158)
Deuteranopia (Green-blind)
#98989E — rgb(152, 152, 158)
Tritanopia (Blue-blind)
#989D9C — rgb(152, 157, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(243, 4%, 61%);
text
color: hsl(243, 4%, 61%);
border
border: 2px solid hsl(243, 4%, 61%);
gradient light
background: linear-gradient(to right, hsl(243, 4%, 81%), hsl(243, 4%, 61%));
gradient dark
background: linear-gradient(to right, hsl(243, 4%, 61%), hsl(243, 4%, 41%))
hex
background-color: #9898A0;
tailwind
bg-[hsl(243,4%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(243, 4%, 61%, 0.4);
css variable
--color-primary: hsl(243, 4%, 61%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(243, 4%, 61%)?
HEX: #9898A0 | RGB: rgb(152, 152, 160) | CMYK: 5%, 5%, 0%, 37% | HSV: 240°, 5%, 63%. Copy any format from the conversion table above.
What colors go well with #9898A0?
The complementary color is HSL(63, 4%, 61%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(243, 4%, 61%) in CSS?
As HSL: color: hsl(243, 4%, 61%); — As HEX: color: #9898A0; — As RGB: color: rgb(152, 152, 160); — Tailwind CSS: bg-[hsl(243,4%,61%)] — CSS variable: --color-primary: hsl(243, 4%, 61%);