HSL(186, 2%, 52%)
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(186,2%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(186, 2%, 52%) | color: hsl(186, 2%, 52%) | |
| HEX | #828787 | color: #828787 | |
| RGB | rgb(130, 135, 135) | color: rgb(130, 135, 135) | |
| CMYK | cmyk(4%, 0%, 0%, 47%) | — | |
| HSV | hsv(180, 4%, 53%) | — | |
| HWB | hwb(180 51% 47%) | color: hwb(180 51% 47%) | |
| OKLCH | oklch(0.6192 0.0059 197) | color: oklch(0.6192 0.0059 197) | |
| Lab | lab(55.91 -1.84 -0.64) | color: lab(55.91 -1.84 -0.64) | |
| LCH | lch(55.91 1.95 199.18) | color: lch(55.91 1.95 199.18) |
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)
#848487 — rgb(132, 132, 135)
Deuteranopia (Green-blind)
#848487 — rgb(132, 132, 135)
Tritanopia (Blue-blind)
#828787 — rgb(130, 135, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(186, 2%, 52%);
text
color: hsl(186, 2%, 52%);
border
border: 2px solid hsl(186, 2%, 52%);
gradient light
background: linear-gradient(to right, hsl(186, 2%, 72%), hsl(186, 2%, 52%));
gradient dark
background: linear-gradient(to right, hsl(186, 2%, 52%), hsl(186, 2%, 32%))
hex
background-color: #828787;
tailwind
bg-[hsl(186,2%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(186, 2%, 52%, 0.4);
css variable
--color-primary: hsl(186, 2%, 52%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(186, 2%, 52%)?
HEX: #828787 | RGB: rgb(130, 135, 135) | CMYK: 4%, 0%, 0%, 47% | HSV: 180°, 4%, 53%. Copy any format from the conversion table above.
What colors go well with #828787?
The complementary color is HSL(6, 2%, 52%). For a triadic harmony, use hues 186°, 306°, and 66°. For analogous combinations, try hues 156° and 216°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(186, 2%, 52%) in CSS?
As HSL: color: hsl(186, 2%, 52%); — As HEX: color: #828787; — As RGB: color: rgb(130, 135, 135); — Tailwind CSS: bg-[hsl(186,2%,52%)] — CSS variable: --color-primary: hsl(186, 2%, 52%);