HSL(312, 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(312,2%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 2%, 70%) | color: hsl(312, 2%, 70%) | |
| HEX | #B4B1B3 | color: #B4B1B3 | |
| RGB | rgb(180, 177, 179) | color: rgb(180, 177, 179) | |
| CMYK | cmyk(0%, 2%, 1%, 29%) | — | |
| HSV | hsv(320, 2%, 71%) | — | |
| HWB | hwb(320 70% 29%) | color: hwb(320 70% 29%) | |
| OKLCH | oklch(0.7634 0.0044 337.38) | color: oklch(0.7634 0.0044 337.38) | |
| Lab | lab(72.5 1.43 -0.64) | color: lab(72.5 1.43 -0.64) | |
| LCH | lch(72.5 1.57 335.89) | color: lch(72.5 1.57 335.89) |
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)
#B3B3B3 — rgb(179, 179, 179)
Deuteranopia (Green-blind)
#B3B3B2 — rgb(179, 179, 178)
Tritanopia (Blue-blind)
#B4B2B2 — rgb(180, 178, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 2%, 70%);
text
color: hsl(312, 2%, 70%);
border
border: 2px solid hsl(312, 2%, 70%);
gradient light
background: linear-gradient(to right, hsl(312, 2%, 90%), hsl(312, 2%, 70%));
gradient dark
background: linear-gradient(to right, hsl(312, 2%, 70%), hsl(312, 2%, 50%))
hex
background-color: #B4B1B3;
tailwind
bg-[hsl(312,2%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 2%, 70%, 0.4);
css variable
--color-primary: hsl(312, 2%, 70%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(312, 2%, 70%)?
HEX: #B4B1B3 | RGB: rgb(180, 177, 179) | CMYK: 0%, 2%, 1%, 29% | HSV: 320°, 2%, 71%. Copy any format from the conversion table above.
What colors go well with #B4B1B3?
The complementary color is HSL(132, 2%, 70%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 2%, 70%) in CSS?
As HSL: color: hsl(312, 2%, 70%); — As HEX: color: #B4B1B3; — As RGB: color: rgb(180, 177, 179); — Tailwind CSS: bg-[hsl(312,2%,70%)] — CSS variable: --color-primary: hsl(312, 2%, 70%);