HSL(15, 5%, 19%)
Grayish Black — Black color
Adjust Color
Color Information
Color Name
Grayish Black
Color Family
Black
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(15,5%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(15, 5%, 19%) | color: hsl(15, 5%, 19%) | |
| HEX | #332F2E | color: #332F2E | |
| RGB | rgb(51, 47, 46) | color: rgb(51, 47, 46) | |
| CMYK | cmyk(0%, 8%, 10%, 80%) | — | |
| HSV | hsv(12, 10%, 20%) | — | |
| HWB | hwb(12 18% 80%) | color: hwb(12 18% 80%) | |
| OKLCH | oklch(0.309 0.0061 34.3) | color: oklch(0.309 0.0061 34.3) | |
| Lab | lab(19.78 1.57 1.29) | color: lab(19.78 1.57 1.29) | |
| LCH | lch(19.78 2.03 39.41) | color: lch(19.78 2.03 39.41) |
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)
#31312E — rgb(49, 49, 46)
Deuteranopia (Green-blind)
#32322E — rgb(50, 50, 46)
Tritanopia (Blue-blind)
#332E2E — rgb(51, 46, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(15, 5%, 19%);
text
color: hsl(15, 5%, 19%);
border
border: 2px solid hsl(15, 5%, 19%);
gradient light
background: linear-gradient(to right, hsl(15, 5%, 39%), hsl(15, 5%, 19%));
gradient dark
background: linear-gradient(to right, hsl(15, 5%, 19%), hsl(15, 5%, 0%))
hex
background-color: #332F2E;
tailwind
bg-[hsl(15,5%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(15, 5%, 19%, 0.4);
css variable
--color-primary: hsl(15, 5%, 19%);
Related Colors
Use Cases for Grayish Black
Frequently Asked Questions
What are all the color codes for HSL(15, 5%, 19%)?
HEX: #332F2E | RGB: rgb(51, 47, 46) | CMYK: 0%, 8%, 10%, 80% | HSV: 12°, 10%, 20%. Copy any format from the conversion table above.
What colors go well with #332F2E?
The complementary color is HSL(195, 5%, 19%). For a triadic harmony, use hues 15°, 135°, and 255°. For analogous combinations, try hues 345° and 45°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(15, 5%, 19%) in CSS?
As HSL: color: hsl(15, 5%, 19%); — As HEX: color: #332F2E; — As RGB: color: rgb(51, 47, 46); — Tailwind CSS: bg-[hsl(15,5%,19%)] — CSS variable: --color-primary: hsl(15, 5%, 19%);