#40343A#40343A

#40343A is a dark, near-neutral pink. Relative luminance 0.039; OKLCH L 34.0% C 0.020 H 346.6°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#40343A
RGBrgb(64, 52, 58)
HSLhsl(330, 10%, 23%)
HSVhsv(330, 19%, 25%)
CMYKcmyk(0%, 18.8%, 9.4%, 74.9%)
CIE-LABlab(23.17, 6.58, -1.76)
CIE-LCHlch(23.17, 6.81, 345.07°)
OKLaboklab(34.02% 0.0192 -0.0046)
OKLCHoklch(34.02% 0.02 346.6)
XYZxyz(4.1060, 3.8516, 4.5293)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40343A #34403A
analogous
#403440 #40343A #403434
triadic
#40343A #3A4034 #343A40
tetradic
#40343A #404034 #34403A #343440
square
#40343A #404034 #34403A #343440
split-complementary
#40343A #344034 #344040
monochromatic
#110E0F #1E191B #40343A #624F59 #846B77

Accessibility & contrast

On white

11.86
#40343A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#40343A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40343A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40343A#FFFFFF#000000##FFFFFF
##40343A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35363A
Deuteranopia (green-blind)
#37383A
Tritanopia (blue-blind)
#423436
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #40343a;
/* rgb */ color: rgb(64, 52, 58);
/* oklch */ color: oklch(34.0% 0.020 346.6);
Tailwind
colors: {
  custom: {
    50: '#756b70',
    500: '#40343a',
    950: '#000000',
  },
}
SCSS
$custom: #40343a;
$custom-light: #756b70;
$custom-dark: #000000;
JSON
{
  "hex": "#40343a",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 58
  },
  "hsl": {
    "h": 330,
    "s": 10.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34023,
    "c": 0.01975,
    "h": 346.6
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#40343A
secondary
#606F68
accent
#B39475
background
#F7F6F6
surface
#EDEBEC
border
#C8C6C7
text
#080607
muted
#7B7A7A

Preview Lab

Preview with #40343A

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

Preview Lab → · Contrast checker → · Palette generator →

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