Nearest named color: Onyx
#403138
#403138
Nearest named
Onyx
Family
Gray
Lightness
33.2%
Chroma
0.024
Hue angle
348.8°
Temperature
Warm
Contrast on white
12.25:1 · AAA
Contrast on black
1.52:1 · Fail
Web-safe
#333333
CSS oklch()
33% 0.02 349

#403138 is a muted, temperate red. On the Color Lab it reads clean and engineered, quietly premium. It is too muted to lead as a primary accent and reproduces cleanly in print.

Palettes built on #403138

Not just a swatch — here's how #403138 works with other colors. Named schemes with #403138 in its natural role, and a note on why the supporting colors balance it.

Vintage Leather Lead · 5 colors

Onyx plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.

Japanese Sand Base · 5 colors

Onyx sets a calm, sun-bleached base here, wrapped in bone and paper off-whites and a soft greige, with a single ink accent for wabi-sabi restraint.

Luxury Packaging Feature · 5 colors

Onyx carries the depth in this luxury scheme, offset by a brass accent and near-black and held together by a deep neutral and an off-white surface.

Minimal Editorial Surface · 5 colors

Onyx is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Onyx carrying the quiet middle.

Berry & Cream Lead · 5 colors

Onyx sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.

Build a working theme in the generator →

Color Lab

How #403138 actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.

Warmth 54/100
Neutral
Balanced temperature — flexible, sits between warm and cool schemes.
Softness 35/100
Low
Middle-weight — neither delicate nor heavy.
Depth 63/100
High
Deep and grounding — anchors a layout, strong dark-mode base.
Naturalness 5/100
Very low
Reads engineered rather than organic — synthetic, digital.
Vintage feel 39/100
Low
A faint retro warmth without tipping into sepia.
Luxury 65/100
High
Restrained and premium — deep, quiet, high-end packaging and fashion.
Brand distinctiveness 9/100
Very low
Quiet and neutral — a supporting tone, not a signature.
UI accent fit 29/100
Low
Weak as an action color — too pale, too dark or too muted to signal.
Surface fit 56/100
Moderate
Usable as a tinted surface in measured doses.
Print safety 97/100
Very high
Reproduces faithfully in CMYK — safe for packaging and print.

Pairs with #403138

For UI
For branding
For interior
For fashion
People also use #403138 with

UI roles & guardrails

Primary action Safe as a filled button with white label. AAA
Body text Passes on white at 16px and above. Pass
Large display Fine for headings 24px+ on white. Pass
Background Pair with white text at 12.2:1. Use
Subtle surface Use #DBD3D7 for cards and hover fills. Tint 80
Avoid beside #3F3133 — the hue gap is too small to read as intentional. Clash

In real applications

Not a swatch to memorise — a color to build with. Here is #403138 at work across the surfaces designers actually ship.

Website / UI
Northwind Sign up
Build faster.
A working theme, generated in seconds.
Dashboard
Revenue
$48.2k ▲ 12%
Brand
AVELINE
Studio
Poster
Nov 14 · 8PM
NIGHT
MARKET
Packaging
BLOOM
Botanical Wash
250 ml
Interior

Scales

ShadesBase darkened in 10% steps
TintsBase lifted toward white
TonesSaturation removed, lightness held
Monochromatic scaleDesign-system ready, 50–900

Every model

Export

:root {
  --color-base: #403138;
  --color-base-rgb: 64 49 56;
  --color-base-oklch: oklch(33.2% 0.024 348.8);
  --color-50: #F8F6F7;
  --color-100: #EDE8EA;
  --color-200: #DBD1D6;
  --color-300: #C0AFB7;
  --color-400: #A48E98;
  --color-500: #866F7A;
  --color-600: #695960;
  --color-700: #4D4247;
  --color-800: #342D30;
  --color-900: #201D1E;
  --color-on-base: #FFFFFF;
}