HSL(338, 4%, 52%)
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(338,4%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 4%, 52%) | color: hsl(338, 4%, 52%) | |
| HEX | #898083 | color: #898083 | |
| RGB | rgb(137, 128, 131) | color: rgb(137, 128, 131) | |
| CMYK | cmyk(0%, 7%, 4%, 46%) | — | |
| HSV | hsv(340, 7%, 54%) | — | |
| HWB | hwb(340 50% 46%) | color: hwb(340 50% 46%) | |
| OKLCH | oklch(0.6088 0.0117 355.14) | color: oklch(0.6088 0.0117 355.14) | |
| Lab | lab(54.44 3.97 -0.4) | color: lab(54.44 3.97 -0.4) | |
| LCH | lch(54.44 3.99 354.25) | color: lch(54.44 3.99 354.25) |
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)
#858582 — rgb(133, 133, 130)
Deuteranopia (Green-blind)
#868682 — rgb(134, 134, 130)
Tritanopia (Blue-blind)
#898282 — rgb(137, 130, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 4%, 52%);
text
color: hsl(338, 4%, 52%);
border
border: 2px solid hsl(338, 4%, 52%);
gradient light
background: linear-gradient(to right, hsl(338, 4%, 72%), hsl(338, 4%, 52%));
gradient dark
background: linear-gradient(to right, hsl(338, 4%, 52%), hsl(338, 4%, 32%))
hex
background-color: #898083;
tailwind
bg-[hsl(338,4%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 4%, 52%, 0.4);
css variable
--color-primary: hsl(338, 4%, 52%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(338, 4%, 52%)?
HEX: #898083 | RGB: rgb(137, 128, 131) | CMYK: 0%, 7%, 4%, 46% | HSV: 340°, 7%, 54%. Copy any format from the conversion table above.
What colors go well with #898083?
The complementary color is HSL(158, 4%, 52%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 4%, 52%) in CSS?
As HSL: color: hsl(338, 4%, 52%); — As HEX: color: #898083; — As RGB: color: rgb(137, 128, 131); — Tailwind CSS: bg-[hsl(338,4%,52%)] — CSS variable: --color-primary: hsl(338, 4%, 52%);