HSL(23, 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(23,5%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(23, 5%, 40%) | color: hsl(23, 5%, 40%) | |
| HEX | #6B6561 | color: #6B6561 | |
| RGB | rgb(107, 101, 97) | color: rgb(107, 101, 97) | |
| CMYK | cmyk(0%, 6%, 9%, 58%) | — | |
| HSV | hsv(24, 9%, 42%) | — | |
| HWB | hwb(24 38% 58%) | color: hwb(24 38% 58%) | |
| OKLCH | oklch(0.511 0.0099 56.17) | color: oklch(0.511 0.0099 56.17) | |
| Lab | lab(43.21 1.58 3.11) | color: lab(43.21 1.58 3.11) | |
| LCH | lch(43.21 3.49 63.07) | color: lch(43.21 3.49 63.07) |
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)
#686862 — rgb(104, 104, 98)
Deuteranopia (Green-blind)
#696962 — rgb(105, 105, 98)
Tritanopia (Blue-blind)
#6B6363 — rgb(107, 99, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(23, 5%, 40%);
text
color: hsl(23, 5%, 40%);
border
border: 2px solid hsl(23, 5%, 40%);
gradient light
background: linear-gradient(to right, hsl(23, 5%, 60%), hsl(23, 5%, 40%));
gradient dark
background: linear-gradient(to right, hsl(23, 5%, 40%), hsl(23, 5%, 20%))
hex
background-color: #6B6561;
tailwind
bg-[hsl(23,5%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(23, 5%, 40%, 0.4);
css variable
--color-primary: hsl(23, 5%, 40%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(23, 5%, 40%)?
HEX: #6B6561 | RGB: rgb(107, 101, 97) | CMYK: 0%, 6%, 9%, 58% | HSV: 24°, 9%, 42%. Copy any format from the conversion table above.
What colors go well with #6B6561?
The complementary color is HSL(203, 5%, 40%). For a triadic harmony, use hues 23°, 143°, and 263°. For analogous combinations, try hues 353° and 53°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(23, 5%, 40%) in CSS?
As HSL: color: hsl(23, 5%, 40%); — As HEX: color: #6B6561; — As RGB: color: rgb(107, 101, 97); — Tailwind CSS: bg-[hsl(23,5%,40%)] — CSS variable: --color-primary: hsl(23, 5%, 40%);