#403A3A#403A3A

#403A3A is a dark, near-neutral grey. Relative luminance 0.044; OKLCH L 35.5% C 0.008 H 17.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#403A3A
RGBrgb(64, 58, 58)
HSLhsl(0, 5%, 24%)
HSVhsv(0, 9%, 25%)
CMYKcmyk(0%, 9.4%, 9.4%, 74.9%)
CIE-LABlab(25.02, 2.60, 0.94)
CIE-LCHlch(25.02, 2.77, 19.93°)
OKLaboklab(35.46% 0.008 0.0025)
OKLCHoklch(35.46% 0.008 17.5)
XYZxyz(4.3911, 4.4217, 4.6243)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A3A #3A4040
analogous
#403A3D #403A3A #403D3A
triadic
#403A3A #3A403A #3A3A40
tetradic
#403A3A #3D403A #3A4040 #3D3A40
square
#403A3A #3D403A #3A4040 #3D3A40
split-complementary
#403A3A #3A403D #3A3D40
monochromatic
#100F0F #201D1D #403A3A #605757 #807474

Accessibility & contrast

On white

11.14
#403A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#403A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A3A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A3A#FFFFFF#000000##FFFFFF
##403A3A1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B3A
Deuteranopia (green-blind)
#3C3C3A
Tritanopia (blue-blind)
#41393A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403a3a;
/* rgb */ color: rgb(64, 58, 58);
/* oklch */ color: oklch(35.5% 0.008 17.5);
Tailwind
colors: {
  custom: {
    50: '#747070',
    500: '#403a3a',
    950: '#000000',
  },
}
SCSS
$custom: #403a3a;
$custom-light: #747070;
$custom-dark: #000000;
JSON
{
  "hex": "#403a3a",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 58
  },
  "hsl": {
    "h": 0,
    "s": 4.918,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3546,
    "c": 0.00839,
    "h": 17.5
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#403A3A
secondary
#676F6F
accent
#AEAE7A
background
#F7F6F6
surface
#EDECEC
border
#C8C7C7
text
#080707
muted
#7B7A7A

Preview Lab

Preview with #403A3A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#403A3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva