HSL(312, 2%, 45%)
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(312,2%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 2%, 45%) | color: hsl(312, 2%, 45%) | |
| HEX | #757074 | color: #757074 | |
| RGB | rgb(117, 112, 116) | color: rgb(117, 112, 116) | |
| CMYK | cmyk(0%, 4%, 1%, 54%) | — | |
| HSV | hsv(312, 4%, 46%) | — | |
| HWB | hwb(312 44% 54%) | color: hwb(312 44% 54%) | |
| OKLCH | oklch(0.551 0.0086 332.24) | color: oklch(0.551 0.0086 332.24) | |
| Lab | lab(47.79 2.73 -1.52) | color: lab(47.79 2.73 -1.52) | |
| LCH | lch(47.79 3.12 330.89) | color: lch(47.79 3.12 330.89) |
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)
#737373 — rgb(115, 115, 115)
Deuteranopia (Green-blind)
#737473 — rgb(115, 116, 115)
Tritanopia (Blue-blind)
#757272 — rgb(117, 114, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 2%, 45%);
text
color: hsl(312, 2%, 45%);
border
border: 2px solid hsl(312, 2%, 45%);
gradient light
background: linear-gradient(to right, hsl(312, 2%, 65%), hsl(312, 2%, 45%));
gradient dark
background: linear-gradient(to right, hsl(312, 2%, 45%), hsl(312, 2%, 25%))
hex
background-color: #757074;
tailwind
bg-[hsl(312,2%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 2%, 45%, 0.4);
css variable
--color-primary: hsl(312, 2%, 45%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(312, 2%, 45%)?
HEX: #757074 | RGB: rgb(117, 112, 116) | CMYK: 0%, 4%, 1%, 54% | HSV: 312°, 4%, 46%. Copy any format from the conversion table above.
What colors go well with #757074?
The complementary color is HSL(132, 2%, 45%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 2%, 45%) in CSS?
As HSL: color: hsl(312, 2%, 45%); — As HEX: color: #757074; — As RGB: color: rgb(117, 112, 116); — Tailwind CSS: bg-[hsl(312,2%,45%)] — CSS variable: --color-primary: hsl(312, 2%, 45%);