HSL(12, 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(12,7%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 7%, 71%) | color: hsl(12, 7%, 71%) | |
| HEX | #BAB2B0 | color: #BAB2B0 | |
| RGB | rgb(186, 178, 176) | color: rgb(186, 178, 176) | |
| CMYK | cmyk(0%, 4%, 5%, 27%) | — | |
| HSV | hsv(12, 5%, 73%) | — | |
| HWB | hwb(12 69% 27%) | color: hwb(12 69% 27%) | |
| OKLCH | oklch(0.7696 0.0096 34.3) | color: oklch(0.7696 0.0096 34.3) | |
| Lab | lab(73.16 2.48 2.03) | color: lab(73.16 2.48 2.03) | |
| LCH | lch(73.16 3.2 39.3) | color: lch(73.16 3.2 39.3) |
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)
#B7B6B0 — rgb(183, 182, 176)
Deuteranopia (Green-blind)
#B7B8B1 — rgb(183, 184, 177)
Tritanopia (Blue-blind)
#BAB1B1 — rgb(186, 177, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 7%, 71%);
text
color: hsl(12, 7%, 71%);
border
border: 2px solid hsl(12, 7%, 71%);
gradient light
background: linear-gradient(to right, hsl(12, 7%, 91%), hsl(12, 7%, 71%));
gradient dark
background: linear-gradient(to right, hsl(12, 7%, 71%), hsl(12, 7%, 51%))
hex
background-color: #BAB2B0;
tailwind
bg-[hsl(12,7%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 7%, 71%, 0.4);
css variable
--color-primary: hsl(12, 7%, 71%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(12, 7%, 71%)?
HEX: #BAB2B0 | RGB: rgb(186, 178, 176) | CMYK: 0%, 4%, 5%, 27% | HSV: 12°, 5%, 73%. Copy any format from the conversion table above.
What colors go well with #BAB2B0?
The complementary color is HSL(192, 7%, 71%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(12, 7%, 71%) in CSS?
As HSL: color: hsl(12, 7%, 71%); — As HEX: color: #BAB2B0; — As RGB: color: rgb(186, 178, 176); — Tailwind CSS: bg-[hsl(12,7%,71%)] — CSS variable: --color-primary: hsl(12, 7%, 71%);