HSL(2, 8%, 48%)
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(2,8%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 8%, 48%) | color: hsl(2, 8%, 48%) | |
| HEX | #847171 | color: #847171 | |
| RGB | rgb(132, 113, 113) | color: rgb(132, 113, 113) | |
| CMYK | cmyk(0%, 14%, 14%, 48%) | — | |
| HSV | hsv(0, 14%, 52%) | — | |
| HWB | hwb(0 45% 48%) | color: hwb(0 45% 48%) | |
| OKLCH | oklch(0.5665 0.0239 17.88) | color: oklch(0.5665 0.0239 17.88) | |
| Lab | lab(49.38 7.42 2.75) | color: lab(49.38 7.42 2.75) | |
| LCH | lch(49.38 7.91 20.34) | color: lch(49.38 7.91 20.34) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#7C7C71 — rgb(124, 124, 113)
Deuteranopia (Green-blind)
#7D7E71 — rgb(125, 126, 113)
Tritanopia (Blue-blind)
#837171 — rgb(131, 113, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 8%, 48%);
text
color: hsl(2, 8%, 48%);
border
border: 2px solid hsl(2, 8%, 48%);
gradient light
background: linear-gradient(to right, hsl(2, 8%, 68%), hsl(2, 8%, 48%));
gradient dark
background: linear-gradient(to right, hsl(2, 8%, 48%), hsl(2, 8%, 28%))
hex
background-color: #847171;
tailwind
bg-[hsl(2,8%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 8%, 48%, 0.4);
css variable
--color-primary: hsl(2, 8%, 48%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(2, 8%, 48%)?
HEX: #847171 | RGB: rgb(132, 113, 113) | CMYK: 0%, 14%, 14%, 48% | HSV: 0°, 14%, 52%. Copy any format from the conversion table above.
What colors go well with #847171?
The complementary color is HSL(182, 8%, 48%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 8%, 48%) in CSS?
As HSL: color: hsl(2, 8%, 48%); — As HEX: color: #847171; — As RGB: color: rgb(132, 113, 113); — Tailwind CSS: bg-[hsl(2,8%,48%)] — CSS variable: --color-primary: hsl(2, 8%, 48%);