HSL(233, 5%, 51%)
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(233,5%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 5%, 51%) | color: hsl(233, 5%, 51%) | |
| HEX | #7C7D88 | color: #7C7D88 | |
| RGB | rgb(124, 125, 136) | color: rgb(124, 125, 136) | |
| CMYK | cmyk(9%, 8%, 0%, 47%) | — | |
| HSV | hsv(235, 9%, 53%) | — | |
| HWB | hwb(235 48% 47%) | color: hwb(235 48% 47%) | |
| OKLCH | oklch(0.5925 0.0167 281.73) | color: oklch(0.5925 0.0167 281.73) | |
| Lab | lab(52.65 1.92 -6.08) | color: lab(52.65 1.92 -6.08) | |
| LCH | lch(52.65 6.38 287.53) | color: lch(52.65 6.38 287.53) |
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)
#7C7C85 — rgb(124, 124, 133)
Deuteranopia (Green-blind)
#7C7C85 — rgb(124, 124, 133)
Tritanopia (Blue-blind)
#7C8383 — rgb(124, 131, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 5%, 51%);
text
color: hsl(233, 5%, 51%);
border
border: 2px solid hsl(233, 5%, 51%);
gradient light
background: linear-gradient(to right, hsl(233, 5%, 71%), hsl(233, 5%, 51%));
gradient dark
background: linear-gradient(to right, hsl(233, 5%, 51%), hsl(233, 5%, 31%))
hex
background-color: #7C7D88;
tailwind
bg-[hsl(233,5%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 5%, 51%, 0.4);
css variable
--color-primary: hsl(233, 5%, 51%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(233, 5%, 51%)?
HEX: #7C7D88 | RGB: rgb(124, 125, 136) | CMYK: 9%, 8%, 0%, 47% | HSV: 235°, 9%, 53%. Copy any format from the conversion table above.
What colors go well with #7C7D88?
The complementary color is HSL(53, 5%, 51%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 5%, 51%) in CSS?
As HSL: color: hsl(233, 5%, 51%); — As HEX: color: #7C7D88; — As RGB: color: rgb(124, 125, 136); — Tailwind CSS: bg-[hsl(233,5%,51%)] — CSS variable: --color-primary: hsl(233, 5%, 51%);