#40323D#40323D

#40323D is a dark, muted pink. Relative luminance 0.037; OKLCH L 33.7% C 0.027 H 333.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#40323D
RGBrgb(64, 50, 61)
HSLhsl(313, 12%, 22%)
HSVhsv(313, 22%, 25%)
CMYKcmyk(0%, 21.9%, 4.7%, 74.9%)
CIE-LABlab(22.68, 8.58, -4.51)
CIE-LCHlch(22.68, 9.70, 332.26°)
OKLaboklab(33.68% 0.0243 -0.012)
OKLCHoklch(33.68% 0.027 333.7)
XYZxyz(4.0972, 3.7082, 4.9139)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40323D #324035
analogous
#3C3240 #40323D #403236
triadic
#40323D #3D4032 #323D40
tetradic
#40323D #403C32 #324035 #323640
square
#40323D #403C32 #324035 #323640
split-complementary
#40323D #364032 #32403C
monochromatic
#110D10 #1E171C #40323D #624D5E #85687E

Accessibility & contrast

On white

12.06
#40323D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40323D
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40323D#FFFFFF#000000##FFFFFF
##40323D1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40323d;
/* rgb */ color: rgb(64, 50, 61);
/* oklch */ color: oklch(33.7% 0.027 333.7);
Tailwind
colors: {
  custom: {
    50: '#756a72',
    500: '#40323d',
    950: '#000000',
  },
}
SCSS
$custom: #40323d;
$custom-light: #756a72;
$custom-dark: #000000;
JSON
{
  "hex": "#40323d",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 61
  },
  "hsl": {
    "h": 312.857,
    "s": 12.281,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33678,
    "c": 0.0271,
    "h": 333.7
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#40323D
secondary
#5E7062
accent
#B58173
background
#F7F6F6
surface
#EDEBEC
border
#C8C6C7
text
#080608
muted
#7B7A7B

Preview Lab

Preview with #40323D

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

Preview Lab → · Contrast checker → · Palette generator →

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