HSL(27, 3%, 20%)
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(27,3%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(27, 3%, 20%) | color: hsl(27, 3%, 20%) | |
| HEX | #353331 | color: #353331 | |
| RGB | rgb(53, 51, 49) | color: rgb(53, 51, 49) | |
| CMYK | cmyk(0%, 4%, 8%, 79%) | — | |
| HSV | hsv(30, 8%, 21%) | — | |
| HWB | hwb(30 19% 79%) | color: hwb(30 19% 79%) | |
| OKLCH | oklch(0.3224 0.0045 67.67) | color: oklch(0.3224 0.0045 67.67) | |
| Lab | lab(21.38 0.43 1.58) | color: lab(21.38 0.43 1.58) | |
| LCH | lch(21.38 1.64 74.78) | color: lch(21.38 1.64 74.78) |
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)
#343431 — rgb(52, 52, 49)
Deuteranopia (Green-blind)
#343432 — rgb(52, 52, 50)
Tritanopia (Blue-blind)
#353232 — rgb(53, 50, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(27, 3%, 20%);
text
color: hsl(27, 3%, 20%);
border
border: 2px solid hsl(27, 3%, 20%);
gradient light
background: linear-gradient(to right, hsl(27, 3%, 40%), hsl(27, 3%, 20%));
gradient dark
background: linear-gradient(to right, hsl(27, 3%, 20%), hsl(27, 3%, 0%))
hex
background-color: #353331;
tailwind
bg-[hsl(27,3%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(27, 3%, 20%, 0.4);
css variable
--color-primary: hsl(27, 3%, 20%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(27, 3%, 20%)?
HEX: #353331 | RGB: rgb(53, 51, 49) | CMYK: 0%, 4%, 8%, 79% | HSV: 30°, 8%, 21%. Copy any format from the conversion table above.
What colors go well with #353331?
The complementary color is HSL(207, 3%, 20%). For a triadic harmony, use hues 27°, 147°, and 267°. For analogous combinations, try hues 357° and 57°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(27, 3%, 20%) in CSS?
As HSL: color: hsl(27, 3%, 20%); — As HEX: color: #353331; — As RGB: color: rgb(53, 51, 49); — Tailwind CSS: bg-[hsl(27,3%,20%)] — CSS variable: --color-primary: hsl(27, 3%, 20%);