#40343E#40343E

#40343E is a dark, muted pink. Relative luminance 0.039; OKLCH L 34.2% C 0.024 H 331.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#40343E
RGBrgb(64, 52, 62)
HSLhsl(310, 10%, 23%)
HSVhsv(310, 19%, 25%)
CMYKcmyk(0%, 18.8%, 3.1%, 74.9%)
CIE-LABlab(23.32, 7.46, -4.24)
CIE-LCHlch(23.32, 8.58, 330.39°)
OKLaboklab(34.18% 0.021 -0.0113)
OKLCHoklch(34.18% 0.024 331.7)
XYZxyz(4.2118, 3.8939, 5.0862)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40343E #344036
analogous
#3C3440 #40343E #403438
triadic
#40343E #3E4034 #343E40
tetradic
#40343E #403C34 #344036 #343840
square
#40343E #403C34 #344036 #343840
split-complementary
#40343E #384034 #34403C
monochromatic
#110E10 #1E191D #40343E #624F5F #846B7F

Accessibility & contrast

On white

11.81
#40343E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#40343E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40343E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40343E#FFFFFF#000000##FFFFFF
##40343E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34373E
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#413537
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #40343e;
/* rgb */ color: rgb(64, 52, 62);
/* oklch */ color: oklch(34.2% 0.024 331.7);
Tailwind
colors: {
  custom: {
    50: '#756b73',
    500: '#40343e',
    950: '#000000',
  },
}
SCSS
$custom: #40343e;
$custom-light: #756b73;
$custom-dark: #000000;
JSON
{
  "hex": "#40343e",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 62
  },
  "hsl": {
    "h": 310,
    "s": 10.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34181,
    "c": 0.02381,
    "h": 331.7
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#40343E
secondary
#606F63
accent
#B37F75
background
#F7F6F6
surface
#EDEBEC
border
#C8C6C7
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #40343E

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

Preview Lab → · Contrast checker → · Palette generator →

#40343E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva