#403C3C#403C3C

#403C3C is a dark, near-neutral grey. Relative luminance 0.046; OKLCH L 36.0% C 0.006 H 17.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#403C3C
RGBrgb(64, 60, 60)
HSLhsl(0, 3%, 24%)
HSVhsv(0, 6%, 25%)
CMYKcmyk(0%, 6.2%, 6.2%, 74.9%)
CIE-LABlab(25.71, 1.72, 0.62)
CIE-LCHlch(25.71, 1.83, 19.74°)
OKLaboklab(36.02% 0.0053 0.0017)
OKLCHoklch(36.02% 0.006 17.5)
XYZxyz(4.5457, 4.6480, 4.9318)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C3C #3C4040
analogous
#403C3E #403C3C #403E3C
triadic
#403C3C #3C403C #3C3C40
tetradic
#403C3C #3E403C #3C4040 #3E3C40
square
#403C3C #3E403C #3C4040 #3E3C40
split-complementary
#403C3C #3C403E #3C3E40
monochromatic
#100F0F #201E1E #403C3C #605A5A #7F7777

Accessibility & contrast

On white

10.88
#403C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C3C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C3C#FFFFFF#000000##FFFFFF
##403C3C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403c3c;
/* rgb */ color: rgb(64, 60, 60);
/* oklch */ color: oklch(36.0% 0.006 17.5);
Tailwind
colors: {
  custom: {
    50: '#747171',
    500: '#403c3c',
    950: '#000000',
  },
}
SCSS
$custom: #403c3c;
$custom-light: #747171;
$custom-dark: #000000;
JSON
{
  "hex": "#403c3c",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 60
  },
  "hsl": {
    "h": 0,
    "s": 3.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3602,
    "c": 0.00553,
    "h": 17.5
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#403C3C
secondary
#696E6E
accent
#ACAC7B
background
#F7F6F6
surface
#EDECEC
border
#C8C7C7
text
#080707
muted
#7B7A7A

Preview Lab

Preview with #403C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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