#402C32#402C32

#402C32 is a dark, muted pink. Relative luminance 0.031; OKLCH L 31.9% C 0.031 H 359.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#402C32
RGBrgb(64, 44, 50)
HSLhsl(342, 19%, 21%)
HSVhsv(342, 31%, 25%)
CMYKcmyk(0%, 31.2%, 21.9%, 74.9%)
CIE-LABlab(20.53, 10.34, -0.19)
CIE-LCHlch(20.53, 10.34, 358.93°)
OKLaboklab(31.89% 0.031 -0.0004)
OKLCHoklch(31.89% 0.031 359.3)
XYZxyz(3.5908, 3.1218, 3.4304)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C32 #2C403A
analogous
#402C3C #402C32 #40302C
triadic
#402C32 #32402C #2C3240
tetradic
#402C32 #3C402C #2C403A #302C40
square
#402C32 #3C402C #2C403A #302C40
split-complementary
#402C32 #2C4030 #2C3C40
monochromatic
#120C0E #1C1316 #402C32 #64454E #895E6B

Accessibility & contrast

On white

12.93
#402C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#402C32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C32
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C32#FFFFFF#000000##FFFFFF
##402C321.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2F32
Deuteranopia (green-blind)
#333332
Tritanopia (blue-blind)
#432B2E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402c32;
/* rgb */ color: rgb(64, 44, 50);
/* oklch */ color: oklch(31.9% 0.031 359.3);
Tailwind
colors: {
  custom: {
    50: '#756569',
    500: '#402c32',
    950: '#000000',
  },
}
SCSS
$custom: #402c32;
$custom-light: #756569;
$custom-dark: #000000;
JSON
{
  "hex": "#402c32",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 50
  },
  "hsl": {
    "h": 342,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31885,
    "c": 0.031,
    "h": 359.3
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#402C32
secondary
#577169
accent
#BBA46D
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080506
muted
#7B7A7A

Preview Lab

Preview with #402C32

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

Preview Lab → · Contrast checker → · Palette generator →

#402C32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva