HSL(232, 6%, 52%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(232,6%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 6%, 52%) | color: hsl(232, 6%, 52%) | |
| HEX | #7D7F8C | color: #7D7F8C | |
| RGB | rgb(125, 127, 140) | color: rgb(125, 127, 140) | |
| CMYK | cmyk(11%, 9%, 0%, 45%) | — | |
| HSV | hsv(232, 11%, 55%) | — | |
| HWB | hwb(232 49% 45%) | color: hwb(232 49% 45%) | |
| OKLCH | oklch(0.5992 0.0198 278.82) | color: oklch(0.5992 0.0198 278.82) | |
| Lab | lab(53.42 1.99 -7.26) | color: lab(53.42 1.99 -7.26) | |
| LCH | lch(53.42 7.53 285.33) | color: lch(53.42 7.53 285.33) |
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)
#7E7E89 — rgb(126, 126, 137)
Deuteranopia (Green-blind)
#7E7E88 — rgb(126, 126, 136)
Tritanopia (Blue-blind)
#7D8686 — rgb(125, 134, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 6%, 52%);
text
color: hsl(232, 6%, 52%);
border
border: 2px solid hsl(232, 6%, 52%);
gradient light
background: linear-gradient(to right, hsl(232, 6%, 72%), hsl(232, 6%, 52%));
gradient dark
background: linear-gradient(to right, hsl(232, 6%, 52%), hsl(232, 6%, 32%))
hex
background-color: #7D7F8C;
tailwind
bg-[hsl(232,6%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 6%, 52%, 0.4);
css variable
--color-primary: hsl(232, 6%, 52%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(232, 6%, 52%)?
HEX: #7D7F8C | RGB: rgb(125, 127, 140) | CMYK: 11%, 9%, 0%, 45% | HSV: 232°, 11%, 55%. Copy any format from the conversion table above.
What colors go well with #7D7F8C?
The complementary color is HSL(52, 6%, 52%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 6%, 52%) in CSS?
As HSL: color: hsl(232, 6%, 52%); — As HEX: color: #7D7F8C; — As RGB: color: rgb(125, 127, 140); — Tailwind CSS: bg-[hsl(232,6%,52%)] — CSS variable: --color-primary: hsl(232, 6%, 52%);