HSL(18, 2%, 42%)
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(18,2%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(18, 2%, 42%) | color: hsl(18, 2%, 42%) | |
| HEX | #6D6A69 | color: #6D6A69 | |
| RGB | rgb(109, 106, 105) | color: rgb(109, 106, 105) | |
| CMYK | cmyk(0%, 3%, 4%, 57%) | — | |
| HSV | hsv(15, 4%, 43%) | — | |
| HWB | hwb(15 41% 57%) | color: hwb(15 41% 57%) | |
| OKLCH | oklch(0.5267 0.0041 39.46) | color: oklch(0.5267 0.0041 39.46) | |
| Lab | lab(45.05 0.96 0.97) | color: lab(45.05 0.96 0.97) | |
| LCH | lch(45.05 1.36 45.3) | color: lch(45.05 1.36 45.3) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#6C6C69 — rgb(108, 108, 105)
Deuteranopia (Green-blind)
#6C6C69 — rgb(108, 108, 105)
Tritanopia (Blue-blind)
#6D6969 — rgb(109, 105, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(18, 2%, 42%);
text
color: hsl(18, 2%, 42%);
border
border: 2px solid hsl(18, 2%, 42%);
gradient light
background: linear-gradient(to right, hsl(18, 2%, 62%), hsl(18, 2%, 42%));
gradient dark
background: linear-gradient(to right, hsl(18, 2%, 42%), hsl(18, 2%, 22%))
hex
background-color: #6D6A69;
tailwind
bg-[hsl(18,2%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(18, 2%, 42%, 0.4);
css variable
--color-primary: hsl(18, 2%, 42%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(18, 2%, 42%)?
HEX: #6D6A69 | RGB: rgb(109, 106, 105) | CMYK: 0%, 3%, 4%, 57% | HSV: 15°, 4%, 43%. Copy any format from the conversion table above.
What colors go well with #6D6A69?
The complementary color is HSL(198, 2%, 42%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(18, 2%, 42%) in CSS?
As HSL: color: hsl(18, 2%, 42%); — As HEX: color: #6D6A69; — As RGB: color: rgb(109, 106, 105); — Tailwind CSS: bg-[hsl(18,2%,42%)] — CSS variable: --color-primary: hsl(18, 2%, 42%);