HSL(27, 5%, 53%)
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(27,5%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(27, 5%, 53%) | color: hsl(27, 5%, 53%) | |
| HEX | #8D8781 | color: #8D8781 | |
| RGB | rgb(141, 135, 129) | color: rgb(141, 135, 129) | |
| CMYK | cmyk(0%, 4%, 9%, 45%) | — | |
| HSV | hsv(30, 9%, 55%) | — | |
| HWB | hwb(30 50% 45%) | color: hwb(30 50% 45%) | |
| OKLCH | oklch(0.6268 0.0114 67.62) | color: oklch(0.6268 0.0114 67.62) | |
| Lab | lab(56.66 1.12 4.02) | color: lab(56.66 1.12 4.02) | |
| LCH | lch(56.66 4.17 74.43) | color: lch(56.66 4.17 74.43) |
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)
#8A8A82 — rgb(138, 138, 130)
Deuteranopia (Green-blind)
#8B8B83 — rgb(139, 139, 131)
Tritanopia (Blue-blind)
#8D8484 — rgb(141, 132, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(27, 5%, 53%);
text
color: hsl(27, 5%, 53%);
border
border: 2px solid hsl(27, 5%, 53%);
gradient light
background: linear-gradient(to right, hsl(27, 5%, 73%), hsl(27, 5%, 53%));
gradient dark
background: linear-gradient(to right, hsl(27, 5%, 53%), hsl(27, 5%, 33%))
hex
background-color: #8D8781;
tailwind
bg-[hsl(27,5%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(27, 5%, 53%, 0.4);
css variable
--color-primary: hsl(27, 5%, 53%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(27, 5%, 53%)?
HEX: #8D8781 | RGB: rgb(141, 135, 129) | CMYK: 0%, 4%, 9%, 45% | HSV: 30°, 9%, 55%. Copy any format from the conversion table above.
What colors go well with #8D8781?
The complementary color is HSL(207, 5%, 53%). For a triadic harmony, use hues 27°, 147°, and 267°. For analogous combinations, try hues 357° and 57°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(27, 5%, 53%) in CSS?
As HSL: color: hsl(27, 5%, 53%); — As HEX: color: #8D8781; — As RGB: color: rgb(141, 135, 129); — Tailwind CSS: bg-[hsl(27,5%,53%)] — CSS variable: --color-primary: hsl(27, 5%, 53%);