HSL(287, 5%, 70%)
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(287,5%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 5%, 70%) | color: hsl(287, 5%, 70%) | |
| HEX | #B5AFB6 | color: #B5AFB6 | |
| RGB | rgb(181, 175, 182) | color: rgb(181, 175, 182) | |
| CMYK | cmyk(1%, 4%, 0%, 29%) | — | |
| HSV | hsv(291, 4%, 71%) | — | |
| HWB | hwb(291 68% 29%) | color: hwb(291 68% 29%) | |
| OKLCH | oklch(0.7611 0.0119 321.33) | color: oklch(0.7611 0.0119 321.33) | |
| Lab | lab(72.14 3.43 -2.81) | color: lab(72.14 3.43 -2.81) | |
| LCH | lch(72.14 4.43 320.67) | color: lch(72.14 4.43 320.67) |
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)
#B2B2B4 — rgb(178, 178, 180)
Deuteranopia (Green-blind)
#B3B3B4 — rgb(179, 179, 180)
Tritanopia (Blue-blind)
#B5B3B3 — rgb(181, 179, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 5%, 70%);
text
color: hsl(287, 5%, 70%);
border
border: 2px solid hsl(287, 5%, 70%);
gradient light
background: linear-gradient(to right, hsl(287, 5%, 90%), hsl(287, 5%, 70%));
gradient dark
background: linear-gradient(to right, hsl(287, 5%, 70%), hsl(287, 5%, 50%))
hex
background-color: #B5AFB6;
tailwind
bg-[hsl(287,5%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 5%, 70%, 0.4);
css variable
--color-primary: hsl(287, 5%, 70%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(287, 5%, 70%)?
HEX: #B5AFB6 | RGB: rgb(181, 175, 182) | CMYK: 1%, 4%, 0%, 29% | HSV: 291°, 4%, 71%. Copy any format from the conversion table above.
What colors go well with #B5AFB6?
The complementary color is HSL(107, 5%, 70%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 5%, 70%) in CSS?
As HSL: color: hsl(287, 5%, 70%); — As HEX: color: #B5AFB6; — As RGB: color: rgb(181, 175, 182); — Tailwind CSS: bg-[hsl(287,5%,70%)] — CSS variable: --color-primary: hsl(287, 5%, 70%);