HSL(161, 5%, 45%)
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(161,5%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(161, 5%, 45%) | color: hsl(161, 5%, 45%) | |
| HEX | #6D7875 | color: #6D7875 | |
| RGB | rgb(109, 120, 117) | color: rgb(109, 120, 117) | |
| CMYK | cmyk(9%, 0%, 3%, 53%) | — | |
| HSV | hsv(164, 9%, 47%) | — | |
| HWB | hwb(164 43% 53%) | color: hwb(164 43% 53%) | |
| OKLCH | oklch(0.5625 0.0139 177.66) | color: oklch(0.5625 0.0139 177.66) | |
| Lab | lab(49.46 -4.73 0.24) | color: lab(49.46 -4.73 0.24) | |
| LCH | lch(49.46 4.74 177.1) | color: lch(49.46 4.74 177.1) |
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)
#727276 — rgb(114, 114, 118)
Deuteranopia (Green-blind)
#717076 — rgb(113, 112, 118)
Tritanopia (Blue-blind)
#6E7676 — rgb(110, 118, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(161, 5%, 45%);
text
color: hsl(161, 5%, 45%);
border
border: 2px solid hsl(161, 5%, 45%);
gradient light
background: linear-gradient(to right, hsl(161, 5%, 65%), hsl(161, 5%, 45%));
gradient dark
background: linear-gradient(to right, hsl(161, 5%, 45%), hsl(161, 5%, 25%))
hex
background-color: #6D7875;
tailwind
bg-[hsl(161,5%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(161, 5%, 45%, 0.4);
css variable
--color-primary: hsl(161, 5%, 45%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(161, 5%, 45%)?
HEX: #6D7875 | RGB: rgb(109, 120, 117) | CMYK: 9%, 0%, 3%, 53% | HSV: 164°, 9%, 47%. Copy any format from the conversion table above.
What colors go well with #6D7875?
The complementary color is HSL(341, 5%, 45%). For a triadic harmony, use hues 161°, 281°, and 41°. For analogous combinations, try hues 131° and 191°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(161, 5%, 45%) in CSS?
As HSL: color: hsl(161, 5%, 45%); — As HEX: color: #6D7875; — As RGB: color: rgb(109, 120, 117); — Tailwind CSS: bg-[hsl(161,5%,45%)] — CSS variable: --color-primary: hsl(161, 5%, 45%);