#403137#403137

#403137 is a dark, muted pink. Relative luminance 0.036; OKLCH L 33.2% C 0.024 H 352.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#403137
RGBrgb(64, 49, 55)
HSLhsl(336, 13%, 22%)
HSVhsv(336, 23%, 25%)
CMYKcmyk(0%, 23.4%, 14.1%, 74.9%)
CIE-LABlab(22.17, 7.97, -1.20)
CIE-LCHlch(22.17, 8.06, 351.41°)
OKLaboklab(33.21% 0.0236 -0.0031)
OKLCHoklch(33.21% 0.024 352.6)
XYZxyz(3.9022, 3.5626, 4.0958)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403137 #31403A
analogous
#40313F #403137 #403331
triadic
#403137 #374031 #313740
tetradic
#403137 #3F4031 #31403A #333140
square
#403137 #3F4031 #31403A #333140
split-complementary
#403137 #314033 #313F40
monochromatic
#110D0F #1D1619 #403137 #634C55 #856673

Accessibility & contrast

On white

12.26
#403137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#403137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403137
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403137#FFFFFF#000000##FFFFFF
##4031371.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323437
Deuteranopia (green-blind)
#363637
Tritanopia (blue-blind)
#423133
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #403137;
/* rgb */ color: rgb(64, 49, 55);
/* oklch */ color: oklch(33.2% 0.024 352.6);
Tailwind
colors: {
  custom: {
    50: '#75696d',
    500: '#403137',
    950: '#000000',
  },
}
SCSS
$custom: #403137;
$custom-light: #75696d;
$custom-dark: #000000;
JSON
{
  "hex": "#403137",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 55
  },
  "hsl": {
    "h": 336,
    "s": 13.274,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3321,
    "c": 0.02376,
    "h": 352.6
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#403137
secondary
#5D7068
accent
#B69B72
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080607
muted
#7B7A7A

Preview Lab

Preview with #403137

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

Preview Lab → · Contrast checker → · Palette generator →

#403137 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva