HSL(340, 3%, 55%)

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(340,3%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(340, 3%, 55%) color: hsl(340, 3%, 55%)
HEX #90898B color: #90898B
RGB rgb(144, 137, 139) color: rgb(144, 137, 139)
CMYK cmyk(0%, 5%, 3%, 44%)
HSV hsv(343, 5%, 56%)
HWB hwb(343 53% 44%) color: hwb(343 53% 44%)
OKLCH oklch(0.6368 0.0088 357.96) color: oklch(0.6368 0.0088 357.96)
Lab lab(57.74 2.98 -0.14) color: lab(57.74 2.98 -0.14)
LCH lch(57.74 2.98 357.31) color: lch(57.74 2.98 357.31)

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 3.42:1
vs Black 6.14: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)

#8D8D8B — rgb(141, 141, 139)

Deuteranopia (Green-blind)

#8D8E8A — rgb(141, 142, 138)

Tritanopia (Blue-blind)

#908A8A — rgb(144, 138, 138)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(340, 3%, 55%);

text

color: hsl(340, 3%, 55%);

border

border: 2px solid hsl(340, 3%, 55%);

gradient light

background: linear-gradient(to right, hsl(340, 3%, 75%), hsl(340, 3%, 55%));

gradient dark

background: linear-gradient(to right, hsl(340, 3%, 55%), hsl(340, 3%, 35%))

hex

background-color: #90898B;

tailwind

bg-[hsl(340,3%,55%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(340, 3%, 55%, 0.4);

css variable

--color-primary: hsl(340, 3%, 55%);

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(340, 3%, 55%)?

HEX: #90898B | RGB: rgb(144, 137, 139) | CMYK: 0%, 5%, 3%, 44% | HSV: 343°, 5%, 56%. Copy any format from the conversion table above.

What colors go well with #90898B?

The complementary color is HSL(160, 3%, 55%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(340, 3%, 55%) in CSS?

As HSL: color: hsl(340, 3%, 55%); — As HEX: color: #90898B; — As RGB: color: rgb(144, 137, 139); — Tailwind CSS: bg-[hsl(340,3%,55%)] — CSS variable: --color-primary: hsl(340, 3%, 55%);