HSL(297, 2%, 51%)
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(297,2%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 2%, 51%) | color: hsl(297, 2%, 51%) | |
| HEX | #848085 | color: #848085 | |
| RGB | rgb(132, 128, 133) | color: rgb(132, 128, 133) | |
| CMYK | cmyk(1%, 4%, 0%, 48%) | — | |
| HSV | hsv(288, 4%, 52%) | — | |
| HWB | hwb(288 50% 48%) | color: hwb(288 50% 48%) | |
| OKLCH | oklch(0.605 0.0088 319.45) | color: oklch(0.605 0.0088 319.45) | |
| Lab | lab(54.07 2.49 -2.17) | color: lab(54.07 2.49 -2.17) | |
| LCH | lch(54.07 3.3 318.93) | color: lch(54.07 3.3 318.93) |
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)
#828284 — rgb(130, 130, 132)
Deuteranopia (Green-blind)
#838384 — rgb(131, 131, 132)
Tritanopia (Blue-blind)
#848383 — rgb(132, 131, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 2%, 51%);
text
color: hsl(297, 2%, 51%);
border
border: 2px solid hsl(297, 2%, 51%);
gradient light
background: linear-gradient(to right, hsl(297, 2%, 71%), hsl(297, 2%, 51%));
gradient dark
background: linear-gradient(to right, hsl(297, 2%, 51%), hsl(297, 2%, 31%))
hex
background-color: #848085;
tailwind
bg-[hsl(297,2%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 2%, 51%, 0.4);
css variable
--color-primary: hsl(297, 2%, 51%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(297, 2%, 51%)?
HEX: #848085 | RGB: rgb(132, 128, 133) | CMYK: 1%, 4%, 0%, 48% | HSV: 288°, 4%, 52%. Copy any format from the conversion table above.
What colors go well with #848085?
The complementary color is HSL(117, 2%, 51%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 2%, 51%) in CSS?
As HSL: color: hsl(297, 2%, 51%); — As HEX: color: #848085; — As RGB: color: rgb(132, 128, 133); — Tailwind CSS: bg-[hsl(297,2%,51%)] — CSS variable: --color-primary: hsl(297, 2%, 51%);