HSL(267, 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(267,5%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 5%, 71%) | color: hsl(267, 5%, 71%) | |
| HEX | #B5B1B9 | color: #B5B1B9 | |
| RGB | rgb(181, 177, 185) | color: rgb(181, 177, 185) | |
| CMYK | cmyk(2%, 4%, 0%, 27%) | — | |
| HSV | hsv(270, 4%, 73%) | — | |
| HWB | hwb(270 70% 27%) | color: hwb(270 70% 27%) | |
| OKLCH | oklch(0.7661 0.0121 308.29) | color: oklch(0.7661 0.0121 308.29) | |
| Lab | lab(72.74 2.91 -3.57) | color: lab(72.74 2.91 -3.57) | |
| LCH | lch(72.74 4.61 309.18) | color: lch(72.74 4.61 309.18) |
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)
#B3B3B7 — rgb(179, 179, 183)
Deuteranopia (Green-blind)
#B4B4B7 — rgb(180, 180, 183)
Tritanopia (Blue-blind)
#B5B6B5 — rgb(181, 182, 181)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 5%, 71%);
text
color: hsl(267, 5%, 71%);
border
border: 2px solid hsl(267, 5%, 71%);
gradient light
background: linear-gradient(to right, hsl(267, 5%, 91%), hsl(267, 5%, 71%));
gradient dark
background: linear-gradient(to right, hsl(267, 5%, 71%), hsl(267, 5%, 51%))
hex
background-color: #B5B1B9;
tailwind
bg-[hsl(267,5%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 5%, 71%, 0.4);
css variable
--color-primary: hsl(267, 5%, 71%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(267, 5%, 71%)?
HEX: #B5B1B9 | RGB: rgb(181, 177, 185) | CMYK: 2%, 4%, 0%, 27% | HSV: 270°, 4%, 73%. Copy any format from the conversion table above.
What colors go well with #B5B1B9?
The complementary color is HSL(87, 5%, 71%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 5%, 71%) in CSS?
As HSL: color: hsl(267, 5%, 71%); — As HEX: color: #B5B1B9; — As RGB: color: rgb(181, 177, 185); — Tailwind CSS: bg-[hsl(267,5%,71%)] — CSS variable: --color-primary: hsl(267, 5%, 71%);