HSL(51, 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(51,6%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 6%, 79%) | color: hsl(51, 6%, 79%) | |
| HEX | #CDCCC6 | color: #CDCCC6 | |
| RGB | rgb(205, 204, 198) | color: rgb(205, 204, 198) | |
| CMYK | cmyk(0%, 0%, 3%, 20%) | — | |
| HSV | hsv(51, 3%, 80%) | — | |
| HWB | hwb(51 78% 20%) | color: hwb(51 78% 20%) | |
| OKLCH | oklch(0.8443 0.0083 98.9) | color: oklch(0.8443 0.0083 98.9) | |
| Lab | lab(81.97 -0.73 3.11) | color: lab(81.97 -0.73 3.11) | |
| LCH | lch(81.97 3.19 103.21) | color: lch(81.97 3.19 103.21) |
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)
#CDCDC7 — rgb(205, 205, 199)
Deuteranopia (Green-blind)
#CDCDC8 — rgb(205, 205, 200)
Tritanopia (Blue-blind)
#CDC9C9 — rgb(205, 201, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 6%, 79%);
text
color: hsl(51, 6%, 79%);
border
border: 2px solid hsl(51, 6%, 79%);
gradient light
background: linear-gradient(to right, hsl(51, 6%, 99%), hsl(51, 6%, 79%));
gradient dark
background: linear-gradient(to right, hsl(51, 6%, 79%), hsl(51, 6%, 59%))
hex
background-color: #CDCCC6;
tailwind
bg-[hsl(51,6%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 6%, 79%, 0.4);
css variable
--color-primary: hsl(51, 6%, 79%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(51, 6%, 79%)?
HEX: #CDCCC6 | RGB: rgb(205, 204, 198) | CMYK: 0%, 0%, 3%, 20% | HSV: 51°, 3%, 80%. Copy any format from the conversion table above.
What colors go well with #CDCCC6?
The complementary color is HSL(231, 6%, 79%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 6%, 79%) in CSS?
As HSL: color: hsl(51, 6%, 79%); — As HEX: color: #CDCCC6; — As RGB: color: rgb(205, 204, 198); — Tailwind CSS: bg-[hsl(51,6%,79%)] — CSS variable: --color-primary: hsl(51, 6%, 79%);