HSL(317, 2%, 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(317,2%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 2%, 50%) | color: hsl(317, 2%, 50%) | |
| HEX | #827D81 | color: #827D81 | |
| RGB | rgb(130, 125, 129) | color: rgb(130, 125, 129) | |
| CMYK | cmyk(0%, 4%, 1%, 49%) | — | |
| HSV | hsv(312, 4%, 51%) | — | |
| HWB | hwb(312 49% 49%) | color: hwb(312 49% 49%) | |
| OKLCH | oklch(0.5954 0.0085 332.22) | color: oklch(0.5954 0.0085 332.22) | |
| Lab | lab(52.95 2.67 -1.5) | color: lab(52.95 2.67 -1.5) | |
| LCH | lch(52.95 3.06 330.67) | color: lch(52.95 3.06 330.67) |
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)
#808080 — rgb(128, 128, 128)
Deuteranopia (Green-blind)
#808180 — rgb(128, 129, 128)
Tritanopia (Blue-blind)
#827F7F — rgb(130, 127, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 2%, 50%);
text
color: hsl(317, 2%, 50%);
border
border: 2px solid hsl(317, 2%, 50%);
gradient light
background: linear-gradient(to right, hsl(317, 2%, 70%), hsl(317, 2%, 50%));
gradient dark
background: linear-gradient(to right, hsl(317, 2%, 50%), hsl(317, 2%, 30%))
hex
background-color: #827D81;
tailwind
bg-[hsl(317,2%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 2%, 50%, 0.4);
css variable
--color-primary: hsl(317, 2%, 50%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(317, 2%, 50%)?
HEX: #827D81 | RGB: rgb(130, 125, 129) | CMYK: 0%, 4%, 1%, 49% | HSV: 312°, 4%, 51%. Copy any format from the conversion table above.
What colors go well with #827D81?
The complementary color is HSL(137, 2%, 50%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(317, 2%, 50%) in CSS?
As HSL: color: hsl(317, 2%, 50%); — As HEX: color: #827D81; — As RGB: color: rgb(130, 125, 129); — Tailwind CSS: bg-[hsl(317,2%,50%)] — CSS variable: --color-primary: hsl(317, 2%, 50%);