HSL(152, 7%, 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(152,7%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 7%, 71%) | color: hsl(152, 7%, 71%) | |
| HEX | #B0BAB5 | color: #B0BAB5 | |
| RGB | rgb(176, 186, 181) | color: rgb(176, 186, 181) | |
| CMYK | cmyk(5%, 0%, 3%, 27%) | — | |
| HSV | hsv(150, 5%, 73%) | — | |
| HWB | hwb(150 69% 27%) | color: hwb(150 69% 27%) | |
| OKLCH | oklch(0.7796 0.0131 164.7) | color: oklch(0.7796 0.0131 164.7) | |
| Lab | lab(74.63 -4.42 1.33) | color: lab(74.63 -4.42 1.33) | |
| LCH | lch(74.63 4.62 163.25) | color: lch(74.63 4.62 163.25) |
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)
#B4B4B6 — rgb(180, 180, 182)
Deuteranopia (Green-blind)
#B4B3B7 — rgb(180, 179, 183)
Tritanopia (Blue-blind)
#B1B7B7 — rgb(177, 183, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 7%, 71%);
text
color: hsl(152, 7%, 71%);
border
border: 2px solid hsl(152, 7%, 71%);
gradient light
background: linear-gradient(to right, hsl(152, 7%, 91%), hsl(152, 7%, 71%));
gradient dark
background: linear-gradient(to right, hsl(152, 7%, 71%), hsl(152, 7%, 51%))
hex
background-color: #B0BAB5;
tailwind
bg-[hsl(152,7%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 7%, 71%, 0.4);
css variable
--color-primary: hsl(152, 7%, 71%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(152, 7%, 71%)?
HEX: #B0BAB5 | RGB: rgb(176, 186, 181) | CMYK: 5%, 0%, 3%, 27% | HSV: 150°, 5%, 73%. Copy any format from the conversion table above.
What colors go well with #B0BAB5?
The complementary color is HSL(332, 7%, 71%). For a triadic harmony, use hues 152°, 272°, and 32°. For analogous combinations, try hues 122° and 182°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(152, 7%, 71%) in CSS?
As HSL: color: hsl(152, 7%, 71%); — As HEX: color: #B0BAB5; — As RGB: color: rgb(176, 186, 181); — Tailwind CSS: bg-[hsl(152,7%,71%)] — CSS variable: --color-primary: hsl(152, 7%, 71%);