#40323B#40323B

#40323B is a dark, muted pink. Relative luminance 0.037; OKLCH L 33.6% C 0.025 H 339.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#40323B
RGBrgb(64, 50, 59)
HSLhsl(321, 12%, 22%)
HSVhsv(321, 22%, 25%)
CMYKcmyk(0%, 21.9%, 7.8%, 74.9%)
CIE-LABlab(22.61, 8.14, -3.27)
CIE-LCHlch(22.61, 8.77, 338.12°)
OKLaboklab(33.6% 0.0234 -0.0086)
OKLCHoklch(33.6% 0.025 339.8)
XYZxyz(4.0443, 3.6871, 4.6355)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40323B #324037
analogous
#3E3240 #40323B #403234
triadic
#40323B #3B4032 #323B40
tetradic
#40323B #403E32 #324037 #323440
square
#40323B #403E32 #324037 #323440
split-complementary
#40323B #344032 #32403E
monochromatic
#110D10 #1E171B #40323B #624D5B #85687A

Accessibility & contrast

On white

12.09
#40323B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#40323B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40323B
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40323B#FFFFFF#000000##FFFFFF
##40323B1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353B
Deuteranopia (green-blind)
#36373B
Tritanopia (blue-blind)
#423235
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #40323b;
/* rgb */ color: rgb(64, 50, 59);
/* oklch */ color: oklch(33.6% 0.025 339.8);
Tailwind
colors: {
  custom: {
    50: '#756a70',
    500: '#40323b',
    950: '#000000',
  },
}
SCSS
$custom: #40323b;
$custom-light: #756a70;
$custom-dark: #000000;
JSON
{
  "hex": "#40323b",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 59
  },
  "hsl": {
    "h": 321.429,
    "s": 12.281,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33596,
    "c": 0.02497,
    "h": 339.8
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#40323B
secondary
#5E7064
accent
#B58A73
background
#F7F6F6
surface
#EDEBEC
border
#C8C6C7
text
#080607
muted
#7B7A7A

Preview Lab

Preview with #40323B

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

Preview Lab → · Contrast checker → · Palette generator →

#40323B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva