HSL(143, 8%, 20%)
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(143,8%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(143, 8%, 20%) | color: hsl(143, 8%, 20%) | |
| HEX | #2F3732 | color: #2F3732 | |
| RGB | rgb(47, 55, 50) | color: rgb(47, 55, 50) | |
| CMYK | cmyk(15%, 0%, 9%, 78%) | — | |
| HSV | hsv(143, 15%, 22%) | — | |
| HWB | hwb(143 19% 78%) | color: hwb(143 19% 78%) | |
| OKLCH | oklch(0.3275 0.0139 158.12) | color: oklch(0.3275 0.0139 158.12) | |
| Lab | lab(22.18 -4.6 1.99) | color: lab(22.18 -4.6 1.99) | |
| LCH | lch(22.18 5.01 156.61) | color: lch(22.18 5.01 156.61) |
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)
#323333 — rgb(50, 51, 51)
Deuteranopia (Green-blind)
#323134 — rgb(50, 49, 52)
Tritanopia (Blue-blind)
#2F3434 — rgb(47, 52, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(143, 8%, 20%);
text
color: hsl(143, 8%, 20%);
border
border: 2px solid hsl(143, 8%, 20%);
gradient light
background: linear-gradient(to right, hsl(143, 8%, 40%), hsl(143, 8%, 20%));
gradient dark
background: linear-gradient(to right, hsl(143, 8%, 20%), hsl(143, 8%, 0%))
hex
background-color: #2F3732;
tailwind
bg-[hsl(143,8%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(143, 8%, 20%, 0.4);
css variable
--color-primary: hsl(143, 8%, 20%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(143, 8%, 20%)?
HEX: #2F3732 | RGB: rgb(47, 55, 50) | CMYK: 15%, 0%, 9%, 78% | HSV: 143°, 15%, 22%. Copy any format from the conversion table above.
What colors go well with #2F3732?
The complementary color is HSL(323, 8%, 20%). For a triadic harmony, use hues 143°, 263°, and 23°. For analogous combinations, try hues 113° and 173°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(143, 8%, 20%) in CSS?
As HSL: color: hsl(143, 8%, 20%); — As HEX: color: #2F3732; — As RGB: color: rgb(47, 55, 50); — Tailwind CSS: bg-[hsl(143,8%,20%)] — CSS variable: --color-primary: hsl(143, 8%, 20%);