HSL(125, 2%, 55%)
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(125,2%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(125, 2%, 55%) | color: hsl(125, 2%, 55%) | |
| HEX | #8A8F8A | color: #8A8F8A | |
| RGB | rgb(138, 143, 138) | color: rgb(138, 143, 138) | |
| CMYK | cmyk(3%, 0%, 3%, 44%) | — | |
| HSV | hsv(120, 3%, 56%) | — | |
| HWB | hwb(120 54% 44%) | color: hwb(120 54% 44%) | |
| OKLCH | oklch(0.6444 0.0094 145.47) | color: oklch(0.6444 0.0094 145.47) | |
| Lab | lab(58.87 -2.81 2.02) | color: lab(58.87 -2.81 2.02) | |
| LCH | lch(58.87 3.46 144.29) | color: lch(58.87 3.46 144.29) |
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)
#8C8C8B — rgb(140, 140, 139)
Deuteranopia (Green-blind)
#8C8C8C — rgb(140, 140, 140)
Tritanopia (Blue-blind)
#8A8C8C — rgb(138, 140, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(125, 2%, 55%);
text
color: hsl(125, 2%, 55%);
border
border: 2px solid hsl(125, 2%, 55%);
gradient light
background: linear-gradient(to right, hsl(125, 2%, 75%), hsl(125, 2%, 55%));
gradient dark
background: linear-gradient(to right, hsl(125, 2%, 55%), hsl(125, 2%, 35%))
hex
background-color: #8A8F8A;
tailwind
bg-[hsl(125,2%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(125, 2%, 55%, 0.4);
css variable
--color-primary: hsl(125, 2%, 55%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(125, 2%, 55%)?
HEX: #8A8F8A | RGB: rgb(138, 143, 138) | CMYK: 3%, 0%, 3%, 44% | HSV: 120°, 3%, 56%. Copy any format from the conversion table above.
What colors go well with #8A8F8A?
The complementary color is HSL(305, 2%, 55%). For a triadic harmony, use hues 125°, 245°, and 5°. For analogous combinations, try hues 95° and 155°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(125, 2%, 55%) in CSS?
As HSL: color: hsl(125, 2%, 55%); — As HEX: color: #8A8F8A; — As RGB: color: rgb(138, 143, 138); — Tailwind CSS: bg-[hsl(125,2%,55%)] — CSS variable: --color-primary: hsl(125, 2%, 55%);