#40323C#40323C

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

Color values

HEX#40323C
RGBrgb(64, 50, 60)
HSLhsl(317, 12%, 22%)
HSVhsv(317, 22%, 25%)
CMYKcmyk(0%, 21.9%, 6.2%, 74.9%)
CIE-LABlab(22.65, 8.36, -3.89)
CIE-LCHlch(22.65, 9.22, 335.04°)
OKLaboklab(33.64% 0.0239 -0.0103)
OKLCHoklch(33.64% 0.026 336.6)
XYZxyz(4.0705, 3.6975, 4.7734)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40323C #324036
analogous
#3D3240 #40323C #403235
triadic
#40323C #3C4032 #323C40
tetradic
#40323C #403D32 #324036 #323540
square
#40323C #403D32 #324036 #323540
split-complementary
#40323C #354032 #32403D
monochromatic
#110D10 #1E171C #40323C #624D5C #85687C

Accessibility & contrast

On white

12.07
#40323C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40323C
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40323C#FFFFFF#000000##FFFFFF
##40323C1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40323c;
/* rgb */ color: rgb(64, 50, 60);
/* oklch */ color: oklch(33.6% 0.026 336.6);
Tailwind
colors: {
  custom: {
    50: '#756a71',
    500: '#40323c',
    950: '#000000',
  },
}
SCSS
$custom: #40323c;
$custom-light: #756a71;
$custom-dark: #000000;
JSON
{
  "hex": "#40323c",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 60
  },
  "hsl": {
    "h": 317.143,
    "s": 12.281,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33637,
    "c": 0.026,
    "h": 336.6
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#40323C
secondary
#5E7063
accent
#B58673
background
#F7F6F6
surface
#EDEBEC
border
#C8C6C7
text
#080607
muted
#7B7A7A

Preview Lab

Preview with #40323C

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

Preview Lab → · Contrast checker → · Palette generator →

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