HSL(188, 8%, 47%)

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(188,8%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(188, 8%, 47%) color: hsl(188, 8%, 47%)
HEX #6E7F81 color: #6E7F81
RGB rgb(110, 127, 129) color: rgb(110, 127, 129)
CMYK cmyk(15%, 2%, 0%, 49%)
HSV hsv(186, 15%, 51%)
HWB hwb(186 43% 49%) color: hwb(186 43% 49%)
OKLCH oklch(0.5834 0.0202 205.24) color: oklch(0.5834 0.0202 205.24)
Lab lab(51.93 -5.75 -3.18) color: lab(51.93 -5.75 -3.18)
LCH lch(51.93 6.57 208.94) color: lch(51.93 6.57 208.94)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 4.19:1
vs Black 5.02:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#757681 — rgb(117, 118, 129)

Deuteranopia (Green-blind)

#747380 — rgb(116, 115, 128)

Tritanopia (Blue-blind)

#6F8080 — rgb(111, 128, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(188, 8%, 47%);

text

color: hsl(188, 8%, 47%);

border

border: 2px solid hsl(188, 8%, 47%);

gradient light

background: linear-gradient(to right, hsl(188, 8%, 67%), hsl(188, 8%, 47%));

gradient dark

background: linear-gradient(to right, hsl(188, 8%, 47%), hsl(188, 8%, 27%))

hex

background-color: #6E7F81;

tailwind

bg-[hsl(188,8%,47%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(188, 8%, 47%, 0.4);

css variable

--color-primary: hsl(188, 8%, 47%);

Related Colors

Use Cases for Grayish Gray

Neutral backgrounds Body text Borders Secondary buttons Disabled states

Frequently Asked Questions

What are all the color codes for HSL(188, 8%, 47%)?

HEX: #6E7F81 | RGB: rgb(110, 127, 129) | CMYK: 15%, 2%, 0%, 49% | HSV: 186°, 15%, 51%. Copy any format from the conversion table above.

What colors go well with #6E7F81?

The complementary color is HSL(8, 8%, 47%). For a triadic harmony, use hues 188°, 308°, and 68°. For analogous combinations, try hues 158° and 218°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(188, 8%, 47%) in CSS?

As HSL: color: hsl(188, 8%, 47%); — As HEX: color: #6E7F81; — As RGB: color: rgb(110, 127, 129); — Tailwind CSS: bg-[hsl(188,8%,47%)] — CSS variable: --color-primary: hsl(188, 8%, 47%);