#978C8A Warm Gray
rgb(151, 140, 138)
Color conversions
- HEX
- #978C8A
- RGB
- rgb(151, 140, 138)
- RGBA
- rgba(151, 140, 138, 1)
- HSL
- hsl(9, 6%, 57%)
- HSV / HSB
- hsv(9, 9%, 59%)
- CMYK
- cmyk(0%, 7%, 9%, 41%)
Wide-gamut spaces
- XYZ
- xyz(26.728, 27.171, 27.876)
- LAB
- lab(59.13 3.73 2.54)
- LCH
- lch(59.13 4.51 34.29)
- OKLAB
- oklab(64.91% 0.0118 0.0068)
- OKLCH
- oklch(64.91% 0.0136 29.9)
- Nearest name
- Warm Gray
Shades, tints and tones
Color harmonies
The hue directly opposite on the color wheel. Maximum contrast, ideal for a single accent against a dominant brand color.
Neighbouring hues that share a temperature. The safest harmony for calm, cohesive interfaces.
Three hues evenly spaced 120 degrees apart. Vibrant and balanced — use one as dominant and the other two sparingly.
The complement split into two adjacent hues. Nearly the contrast of complementary with noticeably less tension.
Four hues at 90-degree intervals. A rich set for illustration, data visualisation, and category coding.
Two complementary pairs offset by 60 degrees. Gives two warm and two cool options in one system.
Similar colors
Opacity variations
#978c8a1a
#978c8a33
#978c8a4d
#978c8a66
#978c8a80
#978c8a99
#978c8ab3
#978c8acc
#978c8ae6
#978c8aff
Accessibility and contrast
On white
3.26:1
Body text AA Large · Large text AA
On black
6.43:1
Body text AA · Large text AA
White-on-color contrast is 3.26:1.
Color blindness preview
Protanopia
No red cones — ~1% of men
Protanomaly
Reduced red sensitivity — ~1% of men
Deuteranopia
No green cones — ~1% of men
Deuteranomaly
Reduced green sensitivity — ~5% of men
Tritanopia
No blue cones — very rare
Tritanomaly
Reduced blue sensitivity — very rare
Achromatopsia
No color perception — ~1 in 30,000
Achromatomaly
Partial color perception — rare
Meaning, psychology and brand usage
The structural colour every interface actually runs on
Neutral grays carry no emotional charge, which is precisely their value: they let content and brand colour do the signalling. Their temperature matters more than designers expect — a cool gray beside a warm brand colour reads as a mistake.
Neutrality, professionalism, and precision. Overuse reads as noncommittal or unfinished.
Payne's gray, mixed rather than mined, became the painter's shortcut for atmospheric shadow. Swiss modernism turned systematic gray scales into a design methodology.
Build a full gray ramp before choosing a brand colour. Match the gray's temperature to the brand hue and reserve the darkest steps for type rather than large fills.
Common industries: Enterprise, Architecture, Automotive, Consulting, Hardware. Pairs well with a single saturated accent, warm white for text surfaces, near-black for hierarchy.
Code exports
CSS
:root {
--color-warm-gray: #978c8a;
--color-warm-gray-rgb: 151 140 138;
--color-warm-gray-hsl: 9 6% 57%;
--color-warm-gray-oklch: 64.91% 0.0136 29.9;
}
.element {
color: #978c8a;
background-color: hsl(9, 6%, 57%);
border: 1px solid rgb(151 140 138 / 40%);
}SCSS
$warm-gray: #978c8a;
$warm-gray-light: #cbc6c5;
$warm-gray-dark: #4c4645;
.element {
color: $warm-gray;
background: rgba($warm-gray, 0.12);
&:hover {
color: darken($warm-gray, 8%);
}
}LESS
@warm-gray: #978c8a;
@warm-gray-light: lighten(@warm-gray, 12%);
@warm-gray-dark: darken(@warm-gray, 12%);
.element {
color: @warm-gray;
background: fade(@warm-gray, 12%);
}Tailwind CSS
/* Tailwind v4 — src/styles.css */
@theme {
--color-warm-gray-50: #eae8e8;
--color-warm-gray-100: #e0dddc;
--color-warm-gray-200: #d5d1d0;
--color-warm-gray-300: #c1bab9;
--color-warm-gray-400: #aca3a1;
--color-warm-gray-500: #978c8a;
--color-warm-gray-600: #887e7c;
--color-warm-gray-700: #6a6261;
--color-warm-gray-800: #4c4645;
--color-warm-gray-900: #2d2a29;
}
/* Usage */
<div class="bg-warm-gray-500 text-warm-gray-50 ring-warm-gray-600" />
/* Arbitrary value, no config needed */
<div class="bg-[#978c8a]" />Bootstrap
// Bootstrap 5 — _variables.scss (before importing bootstrap)
$warm-gray: #978c8a;
$primary: $warm-gray;
$theme-colors: map-merge($theme-colors, (
"warm-gray": $warm-gray
));
// Generates .text-warm-gray, .bg-warm-gray, .btn-warm-gray
@import "bootstrap/scss/bootstrap";Flutter
import 'package:flutter/material.dart';
const Color warmGray = Color(0xFF978C8A);
// As a MaterialColor swatch
const MaterialColor warmGraySwatch = MaterialColor(0xFF978C8A, <int, Color>{
50: Color(0xFFEAE8E8),
100: Color(0xFFE0DDDC),
200: Color(0xFFD5D1D0),
300: Color(0xFFC1BAB9),
400: Color(0xFFACA3A1),
500: Color(0xFF978C8A),
600: Color(0xFF887E7C),
700: Color(0xFF6A6261),
800: Color(0xFF4C4645),
900: Color(0xFF2D2A29),
});Swift / SwiftUI
import SwiftUI
extension Color {
/// #978c8a — Warm Gray
static let warmGray = Color(
red: 0.5922,
green: 0.549,
blue: 0.5412
)
}
// UIKit
extension UIColor {
static let warmGray = UIColor(
red: 0.5922,
green: 0.549,
blue: 0.5412,
alpha: 1.0
)
}Android
<!-- res/values/colors.xml -->
<resources>
<color name="warm_gray">#978C8A</color>
<color name="warm_gray_translucent">#80978C8A</color>
</resources>
<!-- Jetpack Compose -->
val WarmGray = Color(0xFF978C8A)JavaScript
export const WARM_GRAY = {
hex: "#978c8a",
rgb: [151, 140, 138],
hsl: [9, 6, 57],
oklch: "oklch(64.91% 0.0136 29.9)",
};JSON tokens
{
"$schema": "https://design-tokens.org/schema.json",
"warm-gray": {
"$type": "color",
"$value": "#978c8a",
"$description": "Warm Gray — generated by ColorVerse AI"
}
}