HSL(43, 5%, 40%)
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(43,5%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(43, 5%, 40%) | color: hsl(43, 5%, 40%) | |
| HEX | #6B6861 | color: #6B6861 | |
| RGB | rgb(107, 104, 97) | color: rgb(107, 104, 97) | |
| CMYK | cmyk(0%, 3%, 9%, 58%) | — | |
| HSV | hsv(42, 9%, 42%) | — | |
| HWB | hwb(42 38% 58%) | color: hwb(42 38% 58%) | |
| OKLCH | oklch(0.5178 0.0114 87.52) | color: oklch(0.5178 0.0114 87.52) | |
| Lab | lab(44.07 -0.2 4.36) | color: lab(44.07 -0.2 4.36) | |
| LCH | lch(44.07 4.36 92.63) | color: lch(44.07 4.36 92.63) |
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)
#6A6A63 — rgb(106, 106, 99)
Deuteranopia (Green-blind)
#6A6A63 — rgb(106, 106, 99)
Tritanopia (Blue-blind)
#6B6464 — rgb(107, 100, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(43, 5%, 40%);
text
color: hsl(43, 5%, 40%);
border
border: 2px solid hsl(43, 5%, 40%);
gradient light
background: linear-gradient(to right, hsl(43, 5%, 60%), hsl(43, 5%, 40%));
gradient dark
background: linear-gradient(to right, hsl(43, 5%, 40%), hsl(43, 5%, 20%))
hex
background-color: #6B6861;
tailwind
bg-[hsl(43,5%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(43, 5%, 40%, 0.4);
css variable
--color-primary: hsl(43, 5%, 40%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(43, 5%, 40%)?
HEX: #6B6861 | RGB: rgb(107, 104, 97) | CMYK: 0%, 3%, 9%, 58% | HSV: 42°, 9%, 42%. Copy any format from the conversion table above.
What colors go well with #6B6861?
The complementary color is HSL(223, 5%, 40%). For a triadic harmony, use hues 43°, 163°, and 283°. For analogous combinations, try hues 13° and 73°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(43, 5%, 40%) in CSS?
As HSL: color: hsl(43, 5%, 40%); — As HEX: color: #6B6861; — As RGB: color: rgb(107, 104, 97); — Tailwind CSS: bg-[hsl(43,5%,40%)] — CSS variable: --color-primary: hsl(43, 5%, 40%);