HSL(310, 5%, 50%)
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(310,5%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 5%, 50%) | color: hsl(310, 5%, 50%) | |
| HEX | #867984 | color: #867984 | |
| RGB | rgb(134, 121, 132) | color: rgb(134, 121, 132) | |
| CMYK | cmyk(0%, 10%, 1%, 47%) | — | |
| HSV | hsv(309, 10%, 53%) | — | |
| HWB | hwb(309 48% 47%) | color: hwb(309 48% 47%) | |
| OKLCH | oklch(0.5915 0.0227 330.87) | color: oklch(0.5915 0.0227 330.87) | |
| Lab | lab(52.3 7.09 -4.17) | color: lab(52.3 7.09 -4.17) | |
| LCH | lch(52.3 8.23 329.54) | color: lch(52.3 8.23 329.54) |
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)
#808081 — rgb(128, 128, 129)
Deuteranopia (Green-blind)
#818281 — rgb(129, 130, 129)
Tritanopia (Blue-blind)
#857F7F — rgb(133, 127, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 5%, 50%);
text
color: hsl(310, 5%, 50%);
border
border: 2px solid hsl(310, 5%, 50%);
gradient light
background: linear-gradient(to right, hsl(310, 5%, 70%), hsl(310, 5%, 50%));
gradient dark
background: linear-gradient(to right, hsl(310, 5%, 50%), hsl(310, 5%, 30%))
hex
background-color: #867984;
tailwind
bg-[hsl(310,5%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 5%, 50%, 0.4);
css variable
--color-primary: hsl(310, 5%, 50%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(310, 5%, 50%)?
HEX: #867984 | RGB: rgb(134, 121, 132) | CMYK: 0%, 10%, 1%, 47% | HSV: 309°, 10%, 53%. Copy any format from the conversion table above.
What colors go well with #867984?
The complementary color is HSL(130, 5%, 50%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(310, 5%, 50%) in CSS?
As HSL: color: hsl(310, 5%, 50%); — As HEX: color: #867984; — As RGB: color: rgb(134, 121, 132); — Tailwind CSS: bg-[hsl(310,5%,50%)] — CSS variable: --color-primary: hsl(310, 5%, 50%);