#403D3E#403D3E

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

Color values

HEX#403D3E
RGBrgb(64, 61, 62)
HSLhsl(340, 2%, 25%)
HSVhsv(340, 5%, 25%)
CMYKcmyk(0%, 4.7%, 3.1%, 74.9%)
CIE-LABlab(26.08, 1.50, -0.16)
CIE-LCHlch(26.08, 1.51, 354.07°)
OKLaboklab(36.34% 0.0044 -0.0004)
OKLCHoklch(36.34% 0.004 355)
XYZxyz(4.6525, 4.7753, 5.2331)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D3E #3D403F
analogous
#403D40 #403D3E #403E3D
triadic
#403D3E #3E403D #3D3E40
tetradic
#403D3E #40403D #3D403F #3E3D40
square
#403D3E #40403D #3D403F #3E3D40
split-complementary
#403D3E #3D403E #3D4040
monochromatic
#100F0F #211F20 #403D3E #5F5B5C #7F797B

Accessibility & contrast

On white

10.74
#403D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#403D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D3E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D3E#FFFFFF#000000##FFFFFF
##403D3E1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403d3e;
/* rgb */ color: rgb(64, 61, 62);
/* oklch */ color: oklch(36.3% 0.004 355.0);
Tailwind
colors: {
  custom: {
    50: '#747273',
    500: '#403d3e',
    950: '#000000',
  },
}
SCSS
$custom: #403d3e;
$custom-light: #747273;
$custom-dark: #000000;
JSON
{
  "hex": "#403d3e",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 62
  },
  "hsl": {
    "h": 340,
    "s": 2.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36337,
    "c": 0.00444,
    "h": 355
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#403D3E
secondary
#6B6E6D
accent
#AC9C7C
background
#F7F6F6
surface
#EDECEC
border
#C8C7C7
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #403D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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