HSL(318, 5%, 71%)

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(318,5%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(318, 5%, 71%) color: hsl(318, 5%, 71%)
HEX #B9B1B7 color: #B9B1B7
RGB rgb(185, 177, 183) color: rgb(185, 177, 183)
CMYK cmyk(0%, 4%, 1%, 27%)
HSV hsv(315, 4%, 73%)
HWB hwb(315 70% 27%) color: hwb(315 70% 27%)
OKLCH oklch(0.7688 0.0123 334.15) color: oklch(0.7688 0.0123 334.15)
Lab lab(73.01 3.94 -2.04) color: lab(73.01 3.94 -2.04)
LCH lch(73.01 4.44 332.63) color: lch(73.01 4.44 332.63)

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 2.09:1
vs Black 10.04:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#B6B5B6 — rgb(182, 181, 182)

Deuteranopia (Green-blind)

#B6B7B5 — rgb(182, 183, 181)

Tritanopia (Blue-blind)

#B9B4B4 — rgb(185, 180, 180)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(318, 5%, 71%);

text

color: hsl(318, 5%, 71%);

border

border: 2px solid hsl(318, 5%, 71%);

gradient light

background: linear-gradient(to right, hsl(318, 5%, 91%), hsl(318, 5%, 71%));

gradient dark

background: linear-gradient(to right, hsl(318, 5%, 71%), hsl(318, 5%, 51%))

hex

background-color: #B9B1B7;

tailwind

bg-[hsl(318,5%,71%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(318, 5%, 71%, 0.4);

css variable

--color-primary: hsl(318, 5%, 71%);

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(318, 5%, 71%)?

HEX: #B9B1B7 | RGB: rgb(185, 177, 183) | CMYK: 0%, 4%, 1%, 27% | HSV: 315°, 4%, 73%. Copy any format from the conversion table above.

What colors go well with #B9B1B7?

The complementary color is HSL(138, 5%, 71%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(318, 5%, 71%) in CSS?

As HSL: color: hsl(318, 5%, 71%); — As HEX: color: #B9B1B7; — As RGB: color: rgb(185, 177, 183); — Tailwind CSS: bg-[hsl(318,5%,71%)] — CSS variable: --color-primary: hsl(318, 5%, 71%);