HSL(307, 6%, 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(307,6%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 6%, 79%) | color: hsl(307, 6%, 79%) | |
| HEX | #CDC6CC | color: #CDC6CC | |
| RGB | rgb(205, 198, 204) | color: rgb(205, 198, 204) | |
| CMYK | cmyk(0%, 3%, 0%, 20%) | — | |
| HSV | hsv(309, 3%, 80%) | — | |
| HWB | hwb(309 78% 20%) | color: hwb(309 78% 20%) | |
| OKLCH | oklch(0.834 0.0113 330.17) | color: oklch(0.834 0.0113 330.17) | |
| Lab | lab(80.59 3.51 -2.13) | color: lab(80.59 3.51 -2.13) | |
| LCH | lch(80.59 4.11 328.75) | color: lch(80.59 4.11 328.75) |
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)
#CACACB — rgb(202, 202, 203)
Deuteranopia (Green-blind)
#CACBCA — rgb(202, 203, 202)
Tritanopia (Blue-blind)
#CDC9C9 — rgb(205, 201, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 6%, 79%);
text
color: hsl(307, 6%, 79%);
border
border: 2px solid hsl(307, 6%, 79%);
gradient light
background: linear-gradient(to right, hsl(307, 6%, 99%), hsl(307, 6%, 79%));
gradient dark
background: linear-gradient(to right, hsl(307, 6%, 79%), hsl(307, 6%, 59%))
hex
background-color: #CDC6CC;
tailwind
bg-[hsl(307,6%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 6%, 79%, 0.4);
css variable
--color-primary: hsl(307, 6%, 79%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(307, 6%, 79%)?
HEX: #CDC6CC | RGB: rgb(205, 198, 204) | CMYK: 0%, 3%, 0%, 20% | HSV: 309°, 3%, 80%. Copy any format from the conversion table above.
What colors go well with #CDC6CC?
The complementary color is HSL(127, 6%, 79%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 6%, 79%) in CSS?
As HSL: color: hsl(307, 6%, 79%); — As HEX: color: #CDC6CC; — As RGB: color: rgb(205, 198, 204); — Tailwind CSS: bg-[hsl(307,6%,79%)] — CSS variable: --color-primary: hsl(307, 6%, 79%);