HSL(342, 2%, 79%)
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%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 2%, 79%) | color: hsl(342, 2%, 79%) | |
| HEX | #CBC8C9 | color: #CBC8C9 | |
| RGB | rgb(203, 200, 201) | color: rgb(203, 200, 201) | |
| CMYK | cmyk(0%, 1%, 1%, 20%) | — | |
| HSV | hsv(340, 1%, 80%) | — | |
| HWB | hwb(340 79% 20%) | color: hwb(340 79% 20%) | |
| OKLCH | oklch(0.8355 0.0036 354.71) | color: oklch(0.8355 0.0036 354.71) | |
| Lab | lab(80.86 1.22 -0.13) | color: lab(80.86 1.22 -0.13) | |
| LCH | lch(80.86 1.23 353.92) | color: lch(80.86 1.23 353.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#CACAC9 — rgb(202, 202, 201)
Deuteranopia (Green-blind)
#CACAC9 — rgb(202, 202, 201)
Tritanopia (Blue-blind)
#CBC9C9 — rgb(203, 201, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 2%, 79%);
text
color: hsl(342, 2%, 79%);
border
border: 2px solid hsl(342, 2%, 79%);
gradient light
background: linear-gradient(to right, hsl(342, 2%, 99%), hsl(342, 2%, 79%));
gradient dark
background: linear-gradient(to right, hsl(342, 2%, 79%), hsl(342, 2%, 59%))
hex
background-color: #CBC8C9;
tailwind
bg-[hsl(342,2%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 2%, 79%, 0.4);
css variable
--color-primary: hsl(342, 2%, 79%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(342, 2%, 79%)?
HEX: #CBC8C9 | RGB: rgb(203, 200, 201) | CMYK: 0%, 1%, 1%, 20% | HSV: 340°, 1%, 80%. Copy any format from the conversion table above.
What colors go well with #CBC8C9?
The complementary color is HSL(162, 2%, 79%). 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%, 79%) in CSS?
As HSL: color: hsl(342, 2%, 79%); — As HEX: color: #CBC8C9; — As RGB: color: rgb(203, 200, 201); — Tailwind CSS: bg-[hsl(342,2%,79%)] — CSS variable: --color-primary: hsl(342, 2%, 79%);