#403D39#403D39

#403D39 is a dark, near-neutral grey. Relative luminance 0.047; OKLCH L 36.2% C 0.008 H 75.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#403D39
RGBrgb(64, 61, 57)
HSLhsl(34, 6%, 24%)
HSVhsv(34, 11%, 25%)
CMYKcmyk(0%, 4.7%, 10.9%, 74.9%)
CIE-LABlab(25.93, 0.44, 2.92)
CIE-LCHlch(25.93, 2.96, 81.53°)
OKLaboklab(36.16% 0.002 0.0077)
OKLCHoklch(36.16% 0.008 75.3)
XYZxyz(4.5215, 4.7229, 4.5435)
Luminance0.0472 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D39 #393C40
analogous
#403939 #403D39 #3F4039
triadic
#403D39 #39403D #3D3940
tetradic
#403D39 #394039 #393C40 #40393F
square
#403D39 #394039 #393C40 #40393F
split-complementary
#403D39 #393F40 #393940
monochromatic
#100F0E #201E1C #403D39 #605C56 #817B73

Accessibility & contrast

On white

10.80
#403D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#403D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D39
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D39#FFFFFF#000000##FFFFFF
##403D391.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3D39
Deuteranopia (green-blind)
#3F3E39
Tritanopia (blue-blind)
#413C3C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403d39;
/* rgb */ color: rgb(64, 61, 57);
/* oklch */ color: oklch(36.2% 0.008 75.3);
Tailwind
colors: {
  custom: {
    50: '#74726f',
    500: '#403d39',
    950: '#000000',
  },
}
SCSS
$custom: #403d39;
$custom-light: #74726f;
$custom-dark: #000000;
JSON
{
  "hex": "#403d39",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 57
  },
  "hsl": {
    "h": 34.286,
    "s": 5.785,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36164,
    "c": 0.00793,
    "h": 75.3
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#403D39
secondary
#666A6F
accent
#90AF79
background
#F7F6F6
surface
#EDECEC
border
#C8C7C7
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #403D39

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

Preview Lab → · Contrast checker → · Palette generator →

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