HSL(81, 8%, 27%)
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(81,8%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(81, 8%, 27%) | color: hsl(81, 8%, 27%) | |
| HEX | #474A3F | color: #474A3F | |
| RGB | rgb(71, 74, 63) | color: rgb(71, 74, 63) | |
| CMYK | cmyk(4%, 0%, 15%, 71%) | — | |
| HSV | hsv(76, 15%, 29%) | — | |
| HWB | hwb(76 25% 71%) | color: hwb(76 25% 71%) | |
| OKLCH | oklch(0.4028 0.0183 119.63) | color: oklch(0.4028 0.0183 119.63) | |
| Lab | lab(30.87 -3.55 6.16) | color: lab(30.87 -3.55 6.16) | |
| LCH | lch(30.87 7.11 119.95) | color: lch(30.87 7.11 119.95) |
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)
#484842 — rgb(72, 72, 66)
Deuteranopia (Green-blind)
#484842 — rgb(72, 72, 66)
Tritanopia (Blue-blind)
#474444 — rgb(71, 68, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(81, 8%, 27%);
text
color: hsl(81, 8%, 27%);
border
border: 2px solid hsl(81, 8%, 27%);
gradient light
background: linear-gradient(to right, hsl(81, 8%, 47%), hsl(81, 8%, 27%));
gradient dark
background: linear-gradient(to right, hsl(81, 8%, 27%), hsl(81, 8%, 7%))
hex
background-color: #474A3F;
tailwind
bg-[hsl(81,8%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(81, 8%, 27%, 0.4);
css variable
--color-primary: hsl(81, 8%, 27%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(81, 8%, 27%)?
HEX: #474A3F | RGB: rgb(71, 74, 63) | CMYK: 4%, 0%, 15%, 71% | HSV: 76°, 15%, 29%. Copy any format from the conversion table above.
What colors go well with #474A3F?
The complementary color is HSL(261, 8%, 27%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(81, 8%, 27%) in CSS?
As HSL: color: hsl(81, 8%, 27%); — As HEX: color: #474A3F; — As RGB: color: rgb(71, 74, 63); — Tailwind CSS: bg-[hsl(81,8%,27%)] — CSS variable: --color-primary: hsl(81, 8%, 27%);