HSL(126, 8%, 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(126,8%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 8%, 71%) | color: hsl(126, 8%, 71%) | |
| HEX | #AFBBB0 | color: #AFBBB0 | |
| RGB | rgb(175, 187, 176) | color: rgb(175, 187, 176) | |
| CMYK | cmyk(6%, 0%, 6%, 27%) | — | |
| HSV | hsv(125, 6%, 73%) | — | |
| HWB | hwb(125 69% 27%) | color: hwb(125 69% 27%) | |
| OKLCH | oklch(0.7795 0.0203 147.79) | color: oklch(0.7795 0.0203 147.79) | |
| Lab | lab(74.69 -6.23 4.14) | color: lab(74.69 -6.23 4.14) | |
| LCH | lch(74.69 7.48 146.39) | color: lch(74.69 7.48 146.39) |
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)
#B4B4B3 — rgb(180, 180, 179)
Deuteranopia (Green-blind)
#B4B3B3 — rgb(180, 179, 179)
Tritanopia (Blue-blind)
#B0B5B5 — rgb(176, 181, 181)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 8%, 71%);
text
color: hsl(126, 8%, 71%);
border
border: 2px solid hsl(126, 8%, 71%);
gradient light
background: linear-gradient(to right, hsl(126, 8%, 91%), hsl(126, 8%, 71%));
gradient dark
background: linear-gradient(to right, hsl(126, 8%, 71%), hsl(126, 8%, 51%))
hex
background-color: #AFBBB0;
tailwind
bg-[hsl(126,8%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 8%, 71%, 0.4);
css variable
--color-primary: hsl(126, 8%, 71%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(126, 8%, 71%)?
HEX: #AFBBB0 | RGB: rgb(175, 187, 176) | CMYK: 6%, 0%, 6%, 27% | HSV: 125°, 6%, 73%. Copy any format from the conversion table above.
What colors go well with #AFBBB0?
The complementary color is HSL(306, 8%, 71%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(126, 8%, 71%) in CSS?
As HSL: color: hsl(126, 8%, 71%); — As HEX: color: #AFBBB0; — As RGB: color: rgb(175, 187, 176); — Tailwind CSS: bg-[hsl(126,8%,71%)] — CSS variable: --color-primary: hsl(126, 8%, 71%);