HSL(342, 2%, 68%)
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(342,2%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 2%, 68%) | color: hsl(342, 2%, 68%) | |
| HEX | #AFACAD | color: #AFACAD | |
| RGB | rgb(175, 172, 173) | color: rgb(175, 172, 173) | |
| CMYK | cmyk(0%, 2%, 1%, 31%) | — | |
| HSV | hsv(340, 2%, 69%) | — | |
| HWB | hwb(340 68% 31%) | color: hwb(340 68% 31%) | |
| OKLCH | oklch(0.7472 0.0037 354.73) | color: oklch(0.7472 0.0037 354.73) | |
| Lab | lab(70.62 1.25 -0.13) | color: lab(70.62 1.25 -0.13) | |
| LCH | lch(70.62 1.26 354.06) | color: lch(70.62 1.26 354.06) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#AEAEAD — rgb(174, 174, 173)
Deuteranopia (Green-blind)
#AEAEAD — rgb(174, 174, 173)
Tritanopia (Blue-blind)
#AFADAD — rgb(175, 173, 173)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 2%, 68%);
text
color: hsl(342, 2%, 68%);
border
border: 2px solid hsl(342, 2%, 68%);
gradient light
background: linear-gradient(to right, hsl(342, 2%, 88%), hsl(342, 2%, 68%));
gradient dark
background: linear-gradient(to right, hsl(342, 2%, 68%), hsl(342, 2%, 48%))
hex
background-color: #AFACAD;
tailwind
bg-[hsl(342,2%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 2%, 68%, 0.4);
css variable
--color-primary: hsl(342, 2%, 68%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(342, 2%, 68%)?
HEX: #AFACAD | RGB: rgb(175, 172, 173) | CMYK: 0%, 2%, 1%, 31% | HSV: 340°, 2%, 69%. Copy any format from the conversion table above.
What colors go well with #AFACAD?
The complementary color is HSL(162, 2%, 68%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 2%, 68%) in CSS?
As HSL: color: hsl(342, 2%, 68%); — As HEX: color: #AFACAD; — As RGB: color: rgb(175, 172, 173); — Tailwind CSS: bg-[hsl(342,2%,68%)] — CSS variable: --color-primary: hsl(342, 2%, 68%);