#40323A#40323A

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

Color values

HEX#40323A
RGBrgb(64, 50, 58)
HSLhsl(326, 12%, 22%)
HSVhsv(326, 22%, 25%)
CMYKcmyk(0%, 21.9%, 9.4%, 74.9%)
CIE-LABlab(22.57, 7.92, -2.64)
CIE-LCHlch(22.57, 8.35, 341.55°)
OKLaboklab(33.56% 0.023 -0.0069)
OKLCHoklch(33.56% 0.024 343.2)
XYZxyz(4.0186, 3.6768, 4.5002)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40323A #324038
analogous
#3F3240 #40323A #403233
triadic
#40323A #3A4032 #323A40
tetradic
#40323A #403F32 #324038 #323340
square
#40323A #403F32 #324038 #323340
split-complementary
#40323A #334032 #32403F
monochromatic
#110D10 #1E171B #40323A #624D59 #856878

Accessibility & contrast

On white

12.10
#40323A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40323A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40323A#FFFFFF#000000##FFFFFF
##40323A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40323a;
/* rgb */ color: rgb(64, 50, 58);
/* oklch */ color: oklch(33.6% 0.024 343.2);
Tailwind
colors: {
  custom: {
    50: '#756a70',
    500: '#40323a',
    950: '#000000',
  },
}
SCSS
$custom: #40323a;
$custom-light: #756a70;
$custom-dark: #000000;
JSON
{
  "hex": "#40323a",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 58
  },
  "hsl": {
    "h": 325.714,
    "s": 12.281,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33557,
    "c": 0.02402,
    "h": 343.2
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#40323A
secondary
#5E7066
accent
#B58F73
background
#F7F6F6
surface
#EDEBEC
border
#C8C6C7
text
#080607
muted
#7B7A7A

Preview Lab

Preview with #40323A

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

Preview Lab → · Contrast checker → · Palette generator →

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