HSL(327, 2%, 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(327,2%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(327, 2%, 20%) | color: hsl(327, 2%, 20%) | |
| HEX | #343233 | color: #343233 | |
| RGB | rgb(52, 50, 51) | color: rgb(52, 50, 51) | |
| CMYK | cmyk(0%, 4%, 2%, 80%) | — | |
| HSV | hsv(330, 4%, 20%) | — | |
| HWB | hwb(330 19% 80%) | color: hwb(330 19% 80%) | |
| OKLCH | oklch(0.3196 0.0033 345.41) | color: oklch(0.3196 0.0033 345.41) | |
| Lab | lab(21.02 1.11 -0.32) | color: lab(21.02 1.11 -0.32) | |
| LCH | lch(21.02 1.16 343.92) | color: lch(21.02 1.16 343.92) |
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)
#343333 — rgb(52, 51, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(327, 2%, 20%);
text
color: hsl(327, 2%, 20%);
border
border: 2px solid hsl(327, 2%, 20%);
gradient light
background: linear-gradient(to right, hsl(327, 2%, 40%), hsl(327, 2%, 20%));
gradient dark
background: linear-gradient(to right, hsl(327, 2%, 20%), hsl(327, 2%, 0%))
hex
background-color: #343233;
tailwind
bg-[hsl(327,2%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(327, 2%, 20%, 0.4);
css variable
--color-primary: hsl(327, 2%, 20%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(327, 2%, 20%)?
HEX: #343233 | RGB: rgb(52, 50, 51) | CMYK: 0%, 4%, 2%, 80% | HSV: 330°, 4%, 20%. Copy any format from the conversion table above.
What colors go well with #343233?
The complementary color is HSL(147, 2%, 20%). For a triadic harmony, use hues 327°, 87°, and 207°. For analogous combinations, try hues 297° and 357°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(327, 2%, 20%) in CSS?
As HSL: color: hsl(327, 2%, 20%); — As HEX: color: #343233; — As RGB: color: rgb(52, 50, 51); — Tailwind CSS: bg-[hsl(327,2%,20%)] — CSS variable: --color-primary: hsl(327, 2%, 20%);