HSL(2, 1%, 32%)
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(2,1%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 1%, 32%) | color: hsl(2, 1%, 32%) | |
| HEX | #525151 | color: #525151 | |
| RGB | rgb(82, 81, 81) | color: rgb(82, 81, 81) | |
| CMYK | cmyk(0%, 1%, 1%, 68%) | — | |
| HSV | hsv(0, 1%, 32%) | — | |
| HWB | hwb(0 32% 68%) | color: hwb(0 32% 68%) | |
| OKLCH | oklch(0.4359 0.0013 17.21) | color: oklch(0.4359 0.0013 17.21) | |
| Lab | lab(34.54 0.41 0.14) | color: lab(34.54 0.41 0.14) | |
| LCH | lch(34.54 0.43 18.85) | color: lch(34.54 0.43 18.85) |
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)
#525251 — rgb(82, 82, 81)
Deuteranopia (Green-blind)
#525251 — rgb(82, 82, 81)
Tritanopia (Blue-blind)
#525151 — rgb(82, 81, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 1%, 32%);
text
color: hsl(2, 1%, 32%);
border
border: 2px solid hsl(2, 1%, 32%);
gradient light
background: linear-gradient(to right, hsl(2, 1%, 52%), hsl(2, 1%, 32%));
gradient dark
background: linear-gradient(to right, hsl(2, 1%, 32%), hsl(2, 1%, 12%))
hex
background-color: #525151;
tailwind
bg-[hsl(2,1%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 1%, 32%, 0.4);
css variable
--color-primary: hsl(2, 1%, 32%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(2, 1%, 32%)?
HEX: #525151 | RGB: rgb(82, 81, 81) | CMYK: 0%, 1%, 1%, 68% | HSV: 0°, 1%, 32%. Copy any format from the conversion table above.
What colors go well with #525151?
The complementary color is HSL(182, 1%, 32%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 1%, 32%) in CSS?
As HSL: color: hsl(2, 1%, 32%); — As HEX: color: #525151; — As RGB: color: rgb(82, 81, 81); — Tailwind CSS: bg-[hsl(2,1%,32%)] — CSS variable: --color-primary: hsl(2, 1%, 32%);