HSL(168, 5%, 71%)
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(168,5%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(168, 5%, 71%) | color: hsl(168, 5%, 71%) | |
| HEX | #B1B9B7 | color: #B1B9B7 | |
| RGB | rgb(177, 185, 183) | color: rgb(177, 185, 183) | |
| CMYK | cmyk(4%, 0%, 1%, 27%) | — | |
| HSV | hsv(165, 4%, 73%) | — | |
| HWB | hwb(165 70% 27%) | color: hwb(165 70% 27%) | |
| OKLCH | oklch(0.7789 0.0093 179.52) | color: oklch(0.7789 0.0093 179.52) | |
| Lab | lab(74.49 -3.16 0.05) | color: lab(74.49 -3.16 0.05) | |
| LCH | lch(74.49 3.16 179.09) | color: lch(74.49 3.16 179.09) |
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)
#B4B5B7 — rgb(180, 181, 183)
Deuteranopia (Green-blind)
#B4B3B8 — rgb(180, 179, 184)
Tritanopia (Blue-blind)
#B1B8B8 — rgb(177, 184, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(168, 5%, 71%);
text
color: hsl(168, 5%, 71%);
border
border: 2px solid hsl(168, 5%, 71%);
gradient light
background: linear-gradient(to right, hsl(168, 5%, 91%), hsl(168, 5%, 71%));
gradient dark
background: linear-gradient(to right, hsl(168, 5%, 71%), hsl(168, 5%, 51%))
hex
background-color: #B1B9B7;
tailwind
bg-[hsl(168,5%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(168, 5%, 71%, 0.4);
css variable
--color-primary: hsl(168, 5%, 71%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(168, 5%, 71%)?
HEX: #B1B9B7 | RGB: rgb(177, 185, 183) | CMYK: 4%, 0%, 1%, 27% | HSV: 165°, 4%, 73%. Copy any format from the conversion table above.
What colors go well with #B1B9B7?
The complementary color is HSL(348, 5%, 71%). For a triadic harmony, use hues 168°, 288°, and 48°. For analogous combinations, try hues 138° and 198°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(168, 5%, 71%) in CSS?
As HSL: color: hsl(168, 5%, 71%); — As HEX: color: #B1B9B7; — As RGB: color: rgb(177, 185, 183); — Tailwind CSS: bg-[hsl(168,5%,71%)] — CSS variable: --color-primary: hsl(168, 5%, 71%);