HSL(227, 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(227,5%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 5%, 71%) | color: hsl(227, 5%, 71%) | |
| HEX | #B1B3B9 | color: #B1B3B9 | |
| RGB | rgb(177, 179, 185) | color: rgb(177, 179, 185) | |
| CMYK | cmyk(4%, 3%, 0%, 27%) | — | |
| HSV | hsv(225, 4%, 73%) | — | |
| HWB | hwb(225 70% 27%) | color: hwb(225 70% 27%) | |
| OKLCH | oklch(0.767 0.0088 271.3) | color: oklch(0.767 0.0088 271.3) | |
| Lab | lab(72.95 0.45 -3.29) | color: lab(72.95 0.45 -3.29) | |
| LCH | lch(72.95 3.32 277.79) | color: lch(72.95 3.32 277.79) |
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)
#B2B2B8 — rgb(178, 178, 184)
Deuteranopia (Green-blind)
#B2B2B7 — rgb(178, 178, 183)
Tritanopia (Blue-blind)
#B1B6B6 — rgb(177, 182, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 5%, 71%);
text
color: hsl(227, 5%, 71%);
border
border: 2px solid hsl(227, 5%, 71%);
gradient light
background: linear-gradient(to right, hsl(227, 5%, 91%), hsl(227, 5%, 71%));
gradient dark
background: linear-gradient(to right, hsl(227, 5%, 71%), hsl(227, 5%, 51%))
hex
background-color: #B1B3B9;
tailwind
bg-[hsl(227,5%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 5%, 71%, 0.4);
css variable
--color-primary: hsl(227, 5%, 71%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(227, 5%, 71%)?
HEX: #B1B3B9 | RGB: rgb(177, 179, 185) | CMYK: 4%, 3%, 0%, 27% | HSV: 225°, 4%, 73%. Copy any format from the conversion table above.
What colors go well with #B1B3B9?
The complementary color is HSL(47, 5%, 71%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 5%, 71%) in CSS?
As HSL: color: hsl(227, 5%, 71%); — As HEX: color: #B1B3B9; — As RGB: color: rgb(177, 179, 185); — Tailwind CSS: bg-[hsl(227,5%,71%)] — CSS variable: --color-primary: hsl(227, 5%, 71%);