HSL(101, 7%, 16%)
Grayish Black — Black color
Adjust Color
Color Information
Color Name
Grayish Black
Color Family
Black
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(101,7%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(101, 7%, 16%) | color: hsl(101, 7%, 16%) | |
| HEX | #282C26 | color: #282C26 | |
| RGB | rgb(40, 44, 38) | color: rgb(40, 44, 38) | |
| CMYK | cmyk(9%, 0%, 14%, 83%) | — | |
| HSV | hsv(100, 14%, 17%) | — | |
| HWB | hwb(100 15% 83%) | color: hwb(100 15% 83%) | |
| OKLCH | oklch(0.287 0.0121 135.04) | color: oklch(0.287 0.0121 135.04) | |
| Lab | lab(17.42 -3.2 3.3) | color: lab(17.42 -3.2 3.3) | |
| LCH | lch(17.42 4.6 134.12) | color: lch(17.42 4.6 134.12) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#2A2A27 — rgb(42, 42, 39)
Deuteranopia (Green-blind)
#2A2928 — rgb(42, 41, 40)
Tritanopia (Blue-blind)
#282929 — rgb(40, 41, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(101, 7%, 16%);
text
color: hsl(101, 7%, 16%);
border
border: 2px solid hsl(101, 7%, 16%);
gradient light
background: linear-gradient(to right, hsl(101, 7%, 36%), hsl(101, 7%, 16%));
gradient dark
background: linear-gradient(to right, hsl(101, 7%, 16%), hsl(101, 7%, 0%))
hex
background-color: #282C26;
tailwind
bg-[hsl(101,7%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(101, 7%, 16%, 0.4);
css variable
--color-primary: hsl(101, 7%, 16%);
Related Colors
Use Cases for Grayish Black
Frequently Asked Questions
What are all the color codes for HSL(101, 7%, 16%)?
HEX: #282C26 | RGB: rgb(40, 44, 38) | CMYK: 9%, 0%, 14%, 83% | HSV: 100°, 14%, 17%. Copy any format from the conversion table above.
What colors go well with #282C26?
The complementary color is HSL(281, 7%, 16%). For a triadic harmony, use hues 101°, 221°, and 341°. For analogous combinations, try hues 71° and 131°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(101, 7%, 16%) in CSS?
As HSL: color: hsl(101, 7%, 16%); — As HEX: color: #282C26; — As RGB: color: rgb(40, 44, 38); — Tailwind CSS: bg-[hsl(101,7%,16%)] — CSS variable: --color-primary: hsl(101, 7%, 16%);