HSL(162, 2%, 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(162,2%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 2%, 20%) | color: hsl(162, 2%, 20%) | |
| HEX | #323433 | color: #323433 | |
| RGB | rgb(50, 52, 51) | color: rgb(50, 52, 51) | |
| CMYK | cmyk(4%, 0%, 2%, 80%) | — | |
| HSV | hsv(150, 4%, 20%) | — | |
| HWB | hwb(150 19% 80%) | color: hwb(150 19% 80%) | |
| OKLCH | oklch(0.3227 0.0033 164.87) | color: oklch(0.3227 0.0033 164.87) | |
| Lab | lab(21.48 -1.1 0.33) | color: lab(21.48 -1.1 0.33) | |
| LCH | lch(21.48 1.15 163.3) | color: lch(21.48 1.15 163.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)
#333333 — rgb(51, 51, 51)
Deuteranopia (Green-blind)
#333333 — rgb(51, 51, 51)
Tritanopia (Blue-blind)
#323333 — rgb(50, 51, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 2%, 20%);
text
color: hsl(162, 2%, 20%);
border
border: 2px solid hsl(162, 2%, 20%);
gradient light
background: linear-gradient(to right, hsl(162, 2%, 40%), hsl(162, 2%, 20%));
gradient dark
background: linear-gradient(to right, hsl(162, 2%, 20%), hsl(162, 2%, 0%))
hex
background-color: #323433;
tailwind
bg-[hsl(162,2%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 2%, 20%, 0.4);
css variable
--color-primary: hsl(162, 2%, 20%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(162, 2%, 20%)?
HEX: #323433 | RGB: rgb(50, 52, 51) | CMYK: 4%, 0%, 2%, 80% | HSV: 150°, 4%, 20%. Copy any format from the conversion table above.
What colors go well with #323433?
The complementary color is HSL(342, 2%, 20%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 2%, 20%) in CSS?
As HSL: color: hsl(162, 2%, 20%); — As HEX: color: #323433; — As RGB: color: rgb(50, 52, 51); — Tailwind CSS: bg-[hsl(162,2%,20%)] — CSS variable: --color-primary: hsl(162, 2%, 20%);