#403D3D#403D3D

#403D3D is a dark, near-neutral grey. Relative luminance 0.048; OKLCH L 36.3% C 0.004 H 17.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#403D3D
RGBrgb(64, 61, 61)
HSLhsl(0, 2%, 25%)
HSVhsv(0, 5%, 25%)
CMYKcmyk(0%, 4.7%, 4.7%, 74.9%)
CIE-LABlab(26.05, 1.28, 0.46)
CIE-LCHlch(26.05, 1.36, 19.65°)
OKLaboklab(36.3% 0.0039 0.0012)
OKLCHoklch(36.3% 0.004 17.3)
XYZxyz(4.6253, 4.7644, 5.0899)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D3D #3D4040
analogous
#403D3F #403D3D #403F3D
triadic
#403D3D #3D403D #3D3D40
tetradic
#403D3D #3F403D #3D4040 #3F3D40
square
#403D3D #3F403D #3D4040 #3F3D40
split-complementary
#403D3D #3D403F #3D3F40
monochromatic
#100F0F #211F1F #403D3D #5F5B5B #7F7979

Accessibility & contrast

On white

10.75
#403D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#403D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D3D
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D3D#FFFFFF#000000##FFFFFF
##403D3D1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3D3D
Deuteranopia (green-blind)
#3E3E3D
Tritanopia (blue-blind)
#413D3D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403d3d;
/* rgb */ color: rgb(64, 61, 61);
/* oklch */ color: oklch(36.3% 0.004 17.3);
Tailwind
colors: {
  custom: {
    50: '#747272',
    500: '#403d3d',
    950: '#000000',
  },
}
SCSS
$custom: #403d3d;
$custom-light: #747272;
$custom-dark: #000000;
JSON
{
  "hex": "#403d3d",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 61
  },
  "hsl": {
    "h": 0,
    "s": 2.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36301,
    "c": 0.00413,
    "h": 17.3
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#403D3D
secondary
#6B6E6E
accent
#ACAC7C
background
#F7F6F6
surface
#EDECEC
border
#C8C7C7
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #403D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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