#3A403C#3A403C

#3A403C is a dark, near-neutral grey. Relative luminance 0.049; OKLCH L 36.4% C 0.010 H 156.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#3A403C
RGBrgb(58, 64, 60)
HSLhsl(140, 5%, 24%)
HSVhsv(140, 9%, 25%)
CMYKcmyk(9.4%, 0%, 6.2%, 74.9%)
CIE-LABlab(26.43, -3.42, 1.59)
CIE-LCHlch(26.43, 3.78, 155.08°)
OKLaboklab(36.45% -0.0096 0.0042)
OKLCHoklch(36.45% 0.01 156.7)
XYZxyz(4.3938, 4.8925, 4.9870)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A403C #403A3E
analogous
#3B403A #3A403C #3A403F
triadic
#3A403C #3C3A40 #403C3A
tetradic
#3A403C #3A3B40 #403A3E #403F3A
square
#3A403C #3A3B40 #403A3E #403F3A
split-complementary
#3A403C #3F3A40 #403A3B
monochromatic
#0F100F #1D201E #3A403C #57605A #748078

Accessibility & contrast

On white

10.61
#3A403C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3A403C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A403C
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A403C#FFFFFF#000000##FFFFFF
##3A403C1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403F3C
Deuteranopia (green-blind)
#3F3E3C
Tritanopia (blue-blind)
#39403F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a403c;
/* rgb */ color: rgb(58, 64, 60);
/* oklch */ color: oklch(36.4% 0.010 156.7);
Tailwind
colors: {
  custom: {
    50: '#707471',
    500: '#3a403c',
    950: '#000000',
  },
}
SCSS
$custom: #3a403c;
$custom-light: #707471;
$custom-dark: #000000;
JSON
{
  "hex": "#3a403c",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 60
  },
  "hsl": {
    "h": 140,
    "s": 4.918,
    "l": 23.922
  },
  "oklch": {
    "l": 0.36448,
    "c": 0.01049,
    "h": 156.7
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#3A403C
secondary
#6F676C
accent
#7A9DAE
background
#F6F7F6
surface
#ECEDEC
border
#C7C8C7
text
#070807
muted
#7A7B7A

Preview Lab

Preview with #3A403C

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

Preview Lab → · Contrast checker → · Palette generator →

#3A403C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva