#40363A#40363A

#40363A is a dark, near-neutral pink. Relative luminance 0.040; OKLCH L 34.5% C 0.016 H 351.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#40363A
RGBrgb(64, 54, 58)
HSLhsl(336, 8%, 23%)
HSVhsv(336, 16%, 25%)
CMYKcmyk(0%, 15.6%, 9.4%, 74.9%)
CIE-LABlab(23.78, 5.25, -0.86)
CIE-LCHlch(23.78, 5.32, 350.69°)
OKLaboklab(34.5% 0.0154 -0.0022)
OKLCHoklch(34.5% 0.016 351.9)
XYZxyz(4.1972, 4.0339, 4.5597)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40363A #36403C
analogous
#40363F #40363A #403736
triadic
#40363A #3A4036 #363A40
tetradic
#40363A #3F4036 #36403C #373640
square
#40363A #3F4036 #36403C #373640
split-complementary
#40363A #364037 #363F40
monochromatic
#110E0F #1F1A1C #40363A #615258 #826E76

Accessibility & contrast

On white

11.62
#40363A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#40363A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40363A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40363A#FFFFFF#000000##FFFFFF
##40363A1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383A
Deuteranopia (green-blind)
#39393A
Tritanopia (blue-blind)
#423637
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #40363a;
/* rgb */ color: rgb(64, 54, 58);
/* oklch */ color: oklch(34.5% 0.016 351.9);
Tailwind
colors: {
  custom: {
    50: '#746d70',
    500: '#40363a',
    950: '#000000',
  },
}
SCSS
$custom: #40363a;
$custom-light: #746d70;
$custom-dark: #000000;
JSON
{
  "hex": "#40363a",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 58
  },
  "hsl": {
    "h": 336,
    "s": 8.475,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34496,
    "c": 0.0156,
    "h": 351.9
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#40363A
secondary
#636F6A
accent
#B19A76
background
#F7F6F6
surface
#EDEBEC
border
#C8C6C7
text
#080707
muted
#7B7A7A

Preview Lab

Preview with #40363A

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

Preview Lab → · Contrast checker → · Palette generator →

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