HSL(12, 2%, 70%)
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,2%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 2%, 70%) | color: hsl(12, 2%, 70%) | |
| HEX | #B4B2B1 | color: #B4B2B1 | |
| RGB | rgb(180, 178, 177) | color: rgb(180, 178, 177) | |
| CMYK | cmyk(0%, 1%, 2%, 29%) | — | |
| HSV | hsv(20, 2%, 71%) | — | |
| HWB | hwb(20 70% 29%) | color: hwb(20 70% 29%) | |
| OKLCH | oklch(0.7649 0.0027 48.71) | color: oklch(0.7649 0.0027 48.71) | |
| Lab | lab(72.71 0.52 0.76) | color: lab(72.71 0.52 0.76) | |
| LCH | lch(72.71 0.92 55.62) | color: lch(72.71 0.92 55.62) |
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)
#B3B3B1 — rgb(179, 179, 177)
Deuteranopia (Green-blind)
#B3B3B1 — rgb(179, 179, 177)
Tritanopia (Blue-blind)
#B4B1B1 — rgb(180, 177, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 2%, 70%);
text
color: hsl(12, 2%, 70%);
border
border: 2px solid hsl(12, 2%, 70%);
gradient light
background: linear-gradient(to right, hsl(12, 2%, 90%), hsl(12, 2%, 70%));
gradient dark
background: linear-gradient(to right, hsl(12, 2%, 70%), hsl(12, 2%, 50%))
hex
background-color: #B4B2B1;
tailwind
bg-[hsl(12,2%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 2%, 70%, 0.4);
css variable
--color-primary: hsl(12, 2%, 70%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(12, 2%, 70%)?
HEX: #B4B2B1 | RGB: rgb(180, 178, 177) | CMYK: 0%, 1%, 2%, 29% | HSV: 20°, 2%, 71%. Copy any format from the conversion table above.
What colors go well with #B4B2B1?
The complementary color is HSL(192, 2%, 70%). 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, 2%, 70%) in CSS?
As HSL: color: hsl(12, 2%, 70%); — As HEX: color: #B4B2B1; — As RGB: color: rgb(180, 178, 177); — Tailwind CSS: bg-[hsl(12,2%,70%)] — CSS variable: --color-primary: hsl(12, 2%, 70%);