HSL(38, 2%, 80%)
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(38,2%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(38, 2%, 80%) | color: hsl(38, 2%, 80%) | |
| HEX | #CDCCCB | color: #CDCCCB | |
| RGB | rgb(205, 204, 203) | color: rgb(205, 204, 203) | |
| CMYK | cmyk(0%, 0%, 1%, 20%) | — | |
| HSV | hsv(30, 1%, 80%) | — | |
| HWB | hwb(30 79% 20%) | color: hwb(30 79% 20%) | |
| OKLCH | oklch(0.8457 0.0018 67.8) | color: oklch(0.8457 0.0018 67.8) | |
| Lab | lab(82.1 0.16 0.62) | color: lab(82.1 0.16 0.62) | |
| LCH | lch(82.1 0.64 75.53) | color: lch(82.1 0.64 75.53) |
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)
#CDCDCB — rgb(205, 205, 203)
Deuteranopia (Green-blind)
#CDCDCB — rgb(205, 205, 203)
Tritanopia (Blue-blind)
#CDCBCB — rgb(205, 203, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(38, 2%, 80%);
text
color: hsl(38, 2%, 80%);
border
border: 2px solid hsl(38, 2%, 80%);
gradient light
background: linear-gradient(to right, hsl(38, 2%, 100%), hsl(38, 2%, 80%));
gradient dark
background: linear-gradient(to right, hsl(38, 2%, 80%), hsl(38, 2%, 60%))
hex
background-color: #CDCCCB;
tailwind
bg-[hsl(38,2%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(38, 2%, 80%, 0.4);
css variable
--color-primary: hsl(38, 2%, 80%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(38, 2%, 80%)?
HEX: #CDCCCB | RGB: rgb(205, 204, 203) | CMYK: 0%, 0%, 1%, 20% | HSV: 30°, 1%, 80%. Copy any format from the conversion table above.
What colors go well with #CDCCCB?
The complementary color is HSL(218, 2%, 80%). For a triadic harmony, use hues 38°, 158°, and 278°. For analogous combinations, try hues 8° and 68°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(38, 2%, 80%) in CSS?
As HSL: color: hsl(38, 2%, 80%); — As HEX: color: #CDCCCB; — As RGB: color: rgb(205, 204, 203); — Tailwind CSS: bg-[hsl(38,2%,80%)] — CSS variable: --color-primary: hsl(38, 2%, 80%);