HSL(38, 2%, 47%)
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(38,2%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(38, 2%, 47%) | color: hsl(38, 2%, 47%) | |
| HEX | #7A7875 | color: #7A7875 | |
| RGB | rgb(122, 120, 117) | color: rgb(122, 120, 117) | |
| CMYK | cmyk(0%, 2%, 4%, 52%) | — | |
| HSV | hsv(36, 4%, 48%) | — | |
| HWB | hwb(36 46% 52%) | color: hwb(36 46% 52%) | |
| OKLCH | oklch(0.5735 0.0052 78.28) | color: oklch(0.5735 0.0052 78.28) | |
| Lab | lab(50.52 0.17 1.91) | color: lab(50.52 0.17 1.91) | |
| LCH | lch(50.52 1.92 84.91) | color: lch(50.52 1.92 84.91) |
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)
#797976 — rgb(121, 121, 118)
Deuteranopia (Green-blind)
#797976 — rgb(121, 121, 118)
Tritanopia (Blue-blind)
#7A7676 — rgb(122, 118, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(38, 2%, 47%);
text
color: hsl(38, 2%, 47%);
border
border: 2px solid hsl(38, 2%, 47%);
gradient light
background: linear-gradient(to right, hsl(38, 2%, 67%), hsl(38, 2%, 47%));
gradient dark
background: linear-gradient(to right, hsl(38, 2%, 47%), hsl(38, 2%, 27%))
hex
background-color: #7A7875;
tailwind
bg-[hsl(38,2%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(38, 2%, 47%, 0.4);
css variable
--color-primary: hsl(38, 2%, 47%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(38, 2%, 47%)?
HEX: #7A7875 | RGB: rgb(122, 120, 117) | CMYK: 0%, 2%, 4%, 52% | HSV: 36°, 4%, 48%. Copy any format from the conversion table above.
What colors go well with #7A7875?
The complementary color is HSL(218, 2%, 47%). For a triadic harmony, use hues 38°, 158°, and 278°. For analogous combinations, try hues 8° and 68°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(38, 2%, 47%) in CSS?
As HSL: color: hsl(38, 2%, 47%); — As HEX: color: #7A7875; — As RGB: color: rgb(122, 120, 117); — Tailwind CSS: bg-[hsl(38,2%,47%)] — CSS variable: --color-primary: hsl(38, 2%, 47%);