HSL(312, 2%, 68%)

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(312,2%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(312, 2%, 68%) color: hsl(312, 2%, 68%)
HEX #AFACAE color: #AFACAE
RGB rgb(175, 172, 174) color: rgb(175, 172, 174)
CMYK cmyk(0%, 2%, 1%, 31%)
HSV hsv(320, 2%, 69%)
HWB hwb(320 68% 31%) color: hwb(320 68% 31%)
OKLCH oklch(0.7475 0.0044 337.38) color: oklch(0.7475 0.0044 337.38)
Lab lab(70.65 1.44 -0.65) color: lab(70.65 1.44 -0.65)
LCH lch(70.65 1.58 335.71) color: lch(70.65 1.58 335.71)

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.25:1
vs Black 9.34: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)

#AEAEAE — rgb(174, 174, 174)

Deuteranopia (Green-blind)

#AEAEAD — rgb(174, 174, 173)

Tritanopia (Blue-blind)

#AFADAD — rgb(175, 173, 173)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(312, 2%, 68%);

text

color: hsl(312, 2%, 68%);

border

border: 2px solid hsl(312, 2%, 68%);

gradient light

background: linear-gradient(to right, hsl(312, 2%, 88%), hsl(312, 2%, 68%));

gradient dark

background: linear-gradient(to right, hsl(312, 2%, 68%), hsl(312, 2%, 48%))

hex

background-color: #AFACAE;

tailwind

bg-[hsl(312,2%,68%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(312, 2%, 68%, 0.4);

css variable

--color-primary: hsl(312, 2%, 68%);

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(312, 2%, 68%)?

HEX: #AFACAE | RGB: rgb(175, 172, 174) | CMYK: 0%, 2%, 1%, 31% | HSV: 320°, 2%, 69%. Copy any format from the conversion table above.

What colors go well with #AFACAE?

The complementary color is HSL(132, 2%, 68%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(312, 2%, 68%) in CSS?

As HSL: color: hsl(312, 2%, 68%); — As HEX: color: #AFACAE; — As RGB: color: rgb(175, 172, 174); — Tailwind CSS: bg-[hsl(312,2%,68%)] — CSS variable: --color-primary: hsl(312, 2%, 68%);