#403A38#403A38

#403A38 is a dark, near-neutral grey. Relative luminance 0.044; OKLCH L 35.4% C 0.009 H 39.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#403A38
RGBrgb(64, 58, 56)
HSLhsl(15, 7%, 24%)
HSVhsv(15, 13%, 25%)
CMYKcmyk(0%, 9.4%, 12.5%, 74.9%)
CIE-LABlab(24.96, 2.19, 2.18)
CIE-LCHlch(24.96, 3.09, 44.95°)
OKLaboklab(35.39% 0.007 0.0058)
OKLCHoklch(35.39% 0.009 39.4)
XYZxyz(4.3412, 4.4017, 4.3615)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A38 #383E40
analogous
#40383A #403A38 #403E38
triadic
#403A38 #38403A #3A3840
tetradic
#403A38 #3A4038 #383E40 #3E3840
square
#403A38 #3A4038 #383E40 #3E3840
split-complementary
#403A38 #38403E #383A40
monochromatic
#100F0E #1F1C1B #403A38 #615855 #817571

Accessibility & contrast

On white

11.17
#403A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403A38
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A38#FFFFFF#000000##FFFFFF
##403A381.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B38
Deuteranopia (green-blind)
#3D3C38
Tritanopia (blue-blind)
#423939
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403a38;
/* rgb */ color: rgb(64, 58, 56);
/* oklch */ color: oklch(35.4% 0.009 39.4);
Tailwind
colors: {
  custom: {
    50: '#74706e',
    500: '#403a38',
    950: '#000000',
  },
}
SCSS
$custom: #403a38;
$custom-light: #74706e;
$custom-dark: #000000;
JSON
{
  "hex": "#403a38",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 56
  },
  "hsl": {
    "h": 15,
    "s": 6.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35391,
    "c": 0.00909,
    "h": 39.4
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#403A38
secondary
#656C6F
accent
#A2B078
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080707
muted
#7B7A7A

Preview Lab

Preview with #403A38

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

Preview Lab → · Contrast checker → · Palette generator →

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