HSL(351, 6%, 30%)
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(351,6%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(351, 6%, 30%) | color: hsl(351, 6%, 30%) | |
| HEX | #514849 | color: #514849 | |
| RGB | rgb(81, 72, 73) | color: rgb(81, 72, 73) | |
| CMYK | cmyk(0%, 11%, 10%, 68%) | — | |
| HSV | hsv(353, 11%, 32%) | — | |
| HWB | hwb(353 28% 68%) | color: hwb(353 28% 68%) | |
| OKLCH | oklch(0.411 0.0122 9.99) | color: oklch(0.411 0.0122 9.99) | |
| Lab | lab(31.5 3.98 0.78) | color: lab(31.5 3.98 0.78) | |
| LCH | lch(31.5 4.06 11.09) | color: lch(31.5 4.06 11.09) |
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)
#4D4D49 — rgb(77, 77, 73)
Deuteranopia (Green-blind)
#4E4E49 — rgb(78, 78, 73)
Tritanopia (Blue-blind)
#514949 — rgb(81, 73, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(351, 6%, 30%);
text
color: hsl(351, 6%, 30%);
border
border: 2px solid hsl(351, 6%, 30%);
gradient light
background: linear-gradient(to right, hsl(351, 6%, 50%), hsl(351, 6%, 30%));
gradient dark
background: linear-gradient(to right, hsl(351, 6%, 30%), hsl(351, 6%, 10%))
hex
background-color: #514849;
tailwind
bg-[hsl(351,6%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(351, 6%, 30%, 0.4);
css variable
--color-primary: hsl(351, 6%, 30%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(351, 6%, 30%)?
HEX: #514849 | RGB: rgb(81, 72, 73) | CMYK: 0%, 11%, 10%, 68% | HSV: 353°, 11%, 32%. Copy any format from the conversion table above.
What colors go well with #514849?
The complementary color is HSL(171, 6%, 30%). For a triadic harmony, use hues 351°, 111°, and 231°. For analogous combinations, try hues 321° and 21°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(351, 6%, 30%) in CSS?
As HSL: color: hsl(351, 6%, 30%); — As HEX: color: #514849; — As RGB: color: rgb(81, 72, 73); — Tailwind CSS: bg-[hsl(351,6%,30%)] — CSS variable: --color-primary: hsl(351, 6%, 30%);