Skip to main content

Spanish Gray

#989898·gray family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Spanish Gray (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#989898
RGB
rgb(152, 152, 152)
HSL
hsl(0, 0%, 60%)
OKLCH
oklch(0.68 0 0)
CMYK
cmyk(0%, 0%, 0%, 40%)
Luminance:0.3140
CSS var:--color-spanish-gray
Tailwind:bg-[#989898]

Accessibility

Score: 48/100

On White (#FFF)

2.88:1

Fail

On Black (#000)

7.28:1

AAA

On Light Gray (#F5F5F5)

2.65:1

Fail

Best text color on this background:

black7.28:1
Open in Contrast Checker →

Design Applications

Background

background-color: #989898

Text Color

color: #989898

bg-[#989898] text-[#000000]

Accent border card component

border-left: 4px solid #989898

Color Meaning & Psychology

Gray is the color of balance, intelligence, and maturity. Unlike black or white, gray makes no strong statement — it allows other design elements to speak. Light grays are versatile backgrounds that convey modernity and cleanliness; mid-grays feel sophisticated and professional; dark charcoals carry authority without the extremity of black. Gray's emotional neutrality has made it the dominant color of Apple's design language and most premium technology hardware. Cool grays (blue-tinted) feel modern and urban; warm grays (brown-tinted, often called "greige") feel approachable and cozy. Gray can feel dull and lifeless without colorful accents — context determines whether it reads as timeless or uninspired. Its near-neutral saturation gives it a versatile, subdued character that works as a sophisticated accent without dominating a composition.

Industry Usage

Common contexts and industries where Spanish Gray is applied in professional design.

  • Premium technology hardware and devices
  • Architectural and interior design services
  • Automotive brands emphasizing refinement
  • Financial and professional services
  • Typography and editorial design
  • Industrial and engineering companies
  • Minimalist fashion and luxury apparel
  • Enterprise software UI neutral elements

Accessibility Considerations

Normal Text

Fails AA

4.5:1 minimum required

Large Text

Fails AA Large

3:1 minimum required

UI Components

Check contrast

3:1 for non-text UI

Spanish Gray is a light color. Use black (#000000) text on top of it for maximum readability (7.28:1). Avoid white text on this background.

CSS & Code Examples

Background

background-color: #989898;

Text

color: #989898;

Border

border: 2px solid #989898;

Box Shadow

box-shadow: 0 4px 20px #98989840;

Gradient

background: linear-gradient(135deg, #989898, #c9c9c9);

Tailwind-style

--color-spanish-gray: #989898;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Spanish Gray without a custom config.

Background

bg-[#989898]

Text

text-[#989898]

Border

border-[#989898]

Ring

ring-[#989898]

Fill

fill-[#989898]

From (gradient)

from-[#989898]

Via (gradient)

via-[#989898]

To (gradient)

to-[#989898]

Design Tokens

Ready-to-use Spanish Gray design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-spanish-gray: #989898;
  --color-spanish-gray-rgb: 152, 152, 152;
  --color-spanish-gray-hsl: 0, 0%, 60%;
}

SCSS Variables

$color-spanish-gray: #989898;
$color-spanish-gray-rgb: 152, 152, 152;
$color-spanish-gray-hsl: 0, 0%, 60%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'spanish-gray': '#989898',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-spanish-gray: #989898;
}

JSON Design Token (W3C format)

{
  "spanish-gray": {
    "value": "#989898",
    "type": "color",
    "description": "Spanish Gray — #989898"
  }
}

What Does Spanish Gray Mean? Color Psychology & Cultural Symbolism

The psychology of Spanish Gray is about trust through restraint. In a visual culture of constant stimulation, a mid-tone gray that refuses to shout becomes its own kind of statement—one of precision, confidence, and professional control.

  • Gray is design's great enabler—the neutral foundation on which other colors perform. In corporate contexts it projects professionalism without warmth (contrasted with blue) or assertiveness (contrasted with black). In luxury design, sophisticated warm grays signal refinement and editorial taste.
  • In Japanese aesthetics, gray (haiiro) is deeply valued for its understated elegance—a key component of the wabi-sabi philosophy of imperfect, restrained beauty. Chinese ink painting depends on the full spectrum of gray tones as an expressive medium in itself.
  • Spanish Gray's mid-tone lightness (60%) shifts its psychological register: a balanced mid-tone that embodies neutrality, professionalism, sophistication, and balance at its most direct.
  • At 0% saturation, Spanish Gray reads as neutral—All grays are inherently muted, but mid-tones in the 40-60% lightness range do the heaviest lifting in sophisticated design systems—providing contrast, hierarchy, and structure without ever competing with the palette's primary colors.

Spanish Gray lets everything else be what it is. That generosity is its design superpower.

How to Use Spanish Gray in Design: Applications, Pairings & Best Practices

Spanish Gray is the backbone of professional design systems—the color that makes typography legible, spacing visible, and content hierarchy clear. Its neutrality is a feature, not a limitation.

  • UI components: neutral backgrounds, disabled states, secondary text—Spanish Gray performs reliably in all these roles with its mid-tone tonal character.
  • Brand & identity: professional service identities, technology UIs, editorial layouts—contexts where Spanish Gray's neutral quality creates the right register.
  • Typography: Spanish Gray as text requires a dark background; its 60% lightness means it provides 2.9:1 contrast on white, not meeting WCAG AA.
  • Spanish Gray creates strong legibility with black text overlays (7.3:1 contrast ratio), making it a reliable background or surface color in design systems
  • Proportional use: Spanish Gray's neutral quality means it scales well across proportions—from full-bleed backgrounds to single-pixel borders—making it an unusually versatile palette component.

Spanish Gray lets everything else be what it is. That generosity is its design superpower.

Spanish Gray Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Spanish Gray (#989898) achieves a 7.28:1 contrast ratio with black text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 31.4%.

  • As text on white (#FFFFFF): 2.88:1 — Fail
  • As text on black (#000000): 7.28:1 — AAA ✓
  • Best text color on Spanish Gray background: Black (#000000) at 7.28:1
  • WCAG 2.1 luminance: 31.4% — mid-range luminance—it sits in the transition zone where both dark and light text approaches require testing against the 4.5:1 WCAG threshold
  • Spanish Gray qualifies for all text sizes including small body copy (AAA).

Always verify Spanish Gray at its final intended size and weight using a real contrast checker—font weight and rendering environment affect perceived legibility beyond what raw ratios capture.

Spanish Gray in Industry: Branding, Design & Market Applications

Across industry research, gray-family tones consistently outperform competitors in categories built on neutrality, professionalism, sophistication, and balance. Spanish Gray is a mid-tone expression of this advantage—best positioned in Technology and adjacent markets.

  • Technology: Gray dominates technology UI design because it provides the neutral canvas on which colorful, dynamic interface elements perform. Apple's aluminum aesthetic established gray as the physical language of precision engineering, an association that has persisted across all of tech. (examples: Notion, Slack, Salesforce) Cool grays signal digital precision; warm grays feel more approachable and human—choice depends on product personality.
  • Finance & Professional Services: Gray communicates the seriousness of people who manage important things—it's the suit of the professional world. Financial services, consulting, and legal firms use it to project competence, precision, and the absence of emotional noise. (examples: Capital One, PayPal, Visa) Dark charcoal is more authoritative than mid-gray for premium financial brands; lighter grays communicate approachable modernity.
  • Luxury & Automotive: Luxury brands use sophisticated warm grays as an alternative to the expected black—it signals refinement, editorial taste, and the confidence that doesn't need to shout. Automotive brands use it for the same reason: gray cars signal understated premium quality. (examples: BMW, Mercedes-Benz, Tesla) The specific undertone of a luxury gray (warm vs cool, light vs dark) determines whether it reads as contemporary or classic.
  • Brand positioning: Spanish Gray is best suited for brands projecting professionalism, neutrality, sophistication. Categories outside this positioning—color-forward consumer brands that need warmth and personality—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Spanish Gray works effectively in professional service identities, technology UIs, editorial layouts—contexts where timelessness serves a secondary but reinforcing role.

Spanish Gray earns its strongest ROI in industries where trust and recognition compound over time: Technology, Finance & Professional Services, Luxury & Automotive. Use it to build the kind of brand recognition that decades reinforce.

Frequently Asked Questions

What is the hex code for Spanish Gray?
The hex code for Spanish Gray is #989898. Its RGB values are rgb(152, 152, 152) and its HSL values are hsl(0, 0%, 60%).
What does Spanish Gray mean in design?
Gray is the color of balance, intelligence, and maturity. Unlike black or white, gray makes no strong statement — it allows other design elements to speak. Light grays are versatile backgrounds that convey modernity and cleanliness; mid-grays feel sophisticated and professional; dark charcoals carry authority without the extremity of black. Gray's emotional neutrality has made it the dominant color of Apple's design language and most premium technology hardware. Cool grays (blue-tinted) feel modern and urban; warm grays (brown-tinted, often called "greige") feel approachable and cozy. Gray can feel dull and lifeless without colorful accents — context determines whether it reads as timeless or uninspired. Its near-neutral saturation gives it a versatile, subdued character that works as a sophisticated accent without dominating a composition.
Is Spanish Gray WCAG accessible?
Spanish Gray (#989898) does not pass WCAG AA on white (2.88:1 ratio). Use it on dark backgrounds where it achieves 7.28:1. Its overall accessibility score is 48/100.
What colors go well with Spanish Gray?
Spanish Gray pairs well with its complementary color Iron Gray (#595E5E). Analogous colors like Hot Pink and Burgundy also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Spanish Gray used for?
Spanish Gray is commonly used for: Premium technology hardware and devices; Architectural and interior design services; Automotive brands emphasizing refinement; Financial and professional services; Typography and editorial design.
What are the CSS and Tailwind values for Spanish Gray?
In CSS, use `color: #989898` or `background-color: #989898`. The CSS custom property is `--color-spanish-gray: #989898`. In Tailwind CSS, use the arbitrary value class `bg-[#989898]` for backgrounds or `text-[#989898]` for text.