HSL(338, 7%, 71%)
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(338,7%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 7%, 71%) | color: hsl(338, 7%, 71%) | |
| HEX | #BAB0B4 | color: #BAB0B4 | |
| RGB | rgb(186, 176, 180) | color: rgb(186, 176, 180) | |
| CMYK | cmyk(0%, 5%, 3%, 27%) | — | |
| HSV | hsv(336, 5%, 73%) | — | |
| HWB | hwb(336 69% 27%) | color: hwb(336 69% 27%) | |
| OKLCH | oklch(0.7667 0.0127 351.09) | color: oklch(0.7667 0.0127 351.09) | |
| Lab | lab(72.75 4.28 -0.76) | color: lab(72.75 4.28 -0.76) | |
| LCH | lch(72.75 4.35 349.93) | color: lch(72.75 4.35 349.93) |
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)
#B6B6B3 — rgb(182, 182, 179)
Deuteranopia (Green-blind)
#B6B7B3 — rgb(182, 183, 179)
Tritanopia (Blue-blind)
#BAB2B2 — rgb(186, 178, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 7%, 71%);
text
color: hsl(338, 7%, 71%);
border
border: 2px solid hsl(338, 7%, 71%);
gradient light
background: linear-gradient(to right, hsl(338, 7%, 91%), hsl(338, 7%, 71%));
gradient dark
background: linear-gradient(to right, hsl(338, 7%, 71%), hsl(338, 7%, 51%))
hex
background-color: #BAB0B4;
tailwind
bg-[hsl(338,7%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 7%, 71%, 0.4);
css variable
--color-primary: hsl(338, 7%, 71%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(338, 7%, 71%)?
HEX: #BAB0B4 | RGB: rgb(186, 176, 180) | CMYK: 0%, 5%, 3%, 27% | HSV: 336°, 5%, 73%. Copy any format from the conversion table above.
What colors go well with #BAB0B4?
The complementary color is HSL(158, 7%, 71%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 7%, 71%) in CSS?
As HSL: color: hsl(338, 7%, 71%); — As HEX: color: #BAB0B4; — As RGB: color: rgb(186, 176, 180); — Tailwind CSS: bg-[hsl(338,7%,71%)] — CSS variable: --color-primary: hsl(338, 7%, 71%);