HSL(126, 8%, 74%)
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%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 8%, 74%) | color: hsl(126, 8%, 74%) | |
| HEX | #B7C2B8 | color: #B7C2B8 | |
| RGB | rgb(183, 194, 184) | color: rgb(183, 194, 184) | |
| CMYK | cmyk(6%, 0%, 5%, 24%) | — | |
| HSV | hsv(125, 6%, 76%) | — | |
| HWB | hwb(125 71% 24%) | color: hwb(125 71% 24%) | |
| OKLCH | oklch(0.8026 0.0184 148.05) | color: oklch(0.8026 0.0184 148.05) | |
| Lab | lab(77.35 -5.66 3.72) | color: lab(77.35 -5.66 3.72) | |
| LCH | lch(77.35 6.77 146.69) | color: lch(77.35 6.77 146.69) |
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)
#BCBCBA — rgb(188, 188, 186)
Deuteranopia (Green-blind)
#BBBABB — rgb(187, 186, 187)
Tritanopia (Blue-blind)
#B8BCBD — rgb(184, 188, 189)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 8%, 74%);
text
color: hsl(126, 8%, 74%);
border
border: 2px solid hsl(126, 8%, 74%);
gradient light
background: linear-gradient(to right, hsl(126, 8%, 94%), hsl(126, 8%, 74%));
gradient dark
background: linear-gradient(to right, hsl(126, 8%, 74%), hsl(126, 8%, 54%))
hex
background-color: #B7C2B8;
tailwind
bg-[hsl(126,8%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 8%, 74%, 0.4);
css variable
--color-primary: hsl(126, 8%, 74%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(126, 8%, 74%)?
HEX: #B7C2B8 | RGB: rgb(183, 194, 184) | CMYK: 6%, 0%, 5%, 24% | HSV: 125°, 6%, 76%. Copy any format from the conversion table above.
What colors go well with #B7C2B8?
The complementary color is HSL(306, 8%, 74%). 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%, 74%) in CSS?
As HSL: color: hsl(126, 8%, 74%); — As HEX: color: #B7C2B8; — As RGB: color: rgb(183, 194, 184); — Tailwind CSS: bg-[hsl(126,8%,74%)] — CSS variable: --color-primary: hsl(126, 8%, 74%);