HSL(335, 8%, 55%)
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(335,8%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(335, 8%, 55%) | color: hsl(335, 8%, 55%) | |
| HEX | #95838B | color: #95838B | |
| RGB | rgb(149, 131, 139) | color: rgb(149, 131, 139) | |
| CMYK | cmyk(0%, 12%, 7%, 42%) | — | |
| HSV | hsv(333, 12%, 58%) | — | |
| HWB | hwb(333 51% 42%) | color: hwb(333 51% 42%) | |
| OKLCH | oklch(0.6288 0.0246 349.17) | color: oklch(0.6288 0.0246 349.17) | |
| Lab | lab(56.57 8.28 -1.79) | color: lab(56.57 8.28 -1.79) | |
| LCH | lch(56.57 8.47 347.8) | color: lch(56.57 8.47 347.8) |
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)
#8D8D89 — rgb(141, 141, 137)
Deuteranopia (Green-blind)
#8E9089 — rgb(142, 144, 137)
Tritanopia (Blue-blind)
#948887 — rgb(148, 136, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(335, 8%, 55%);
text
color: hsl(335, 8%, 55%);
border
border: 2px solid hsl(335, 8%, 55%);
gradient light
background: linear-gradient(to right, hsl(335, 8%, 75%), hsl(335, 8%, 55%));
gradient dark
background: linear-gradient(to right, hsl(335, 8%, 55%), hsl(335, 8%, 35%))
hex
background-color: #95838B;
tailwind
bg-[hsl(335,8%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(335, 8%, 55%, 0.4);
css variable
--color-primary: hsl(335, 8%, 55%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(335, 8%, 55%)?
HEX: #95838B | RGB: rgb(149, 131, 139) | CMYK: 0%, 12%, 7%, 42% | HSV: 333°, 12%, 58%. Copy any format from the conversion table above.
What colors go well with #95838B?
The complementary color is HSL(155, 8%, 55%). For a triadic harmony, use hues 335°, 95°, and 215°. For analogous combinations, try hues 305° and 5°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(335, 8%, 55%) in CSS?
As HSL: color: hsl(335, 8%, 55%); — As HEX: color: #95838B; — As RGB: color: rgb(149, 131, 139); — Tailwind CSS: bg-[hsl(335,8%,55%)] — CSS variable: --color-primary: hsl(335, 8%, 55%);