#402C36#402C36

#402C36 is a dark, muted pink. Relative luminance 0.032; OKLCH L 32.0% C 0.034 H 347.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#402C36
RGBrgb(64, 44, 54)
HSLhsl(330, 19%, 21%)
HSVhsv(330, 31%, 25%)
CMYKcmyk(0%, 31.2%, 15.6%, 74.9%)
CIE-LABlab(20.67, 11.12, -2.74)
CIE-LCHlch(20.67, 11.46, 346.17°)
OKLaboklab(32.04% 0.0328 -0.0071)
OKLCHoklch(32.04% 0.034 347.7)
XYZxyz(3.6809, 3.1579, 3.9050)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C36 #2C4036
analogous
#402C40 #402C36 #402C2C
triadic
#402C36 #36402C #2C3640
tetradic
#402C36 #40402C #2C4036 #2C2C40
square
#402C36 #40402C #2C4036 #2C2C40
split-complementary
#402C36 #2C402C #2C4040
monochromatic
#120C0F #1C1317 #402C36 #644555 #895E73

Accessibility & contrast

On white

12.87
#402C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#402C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C36
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C36#FFFFFF#000000##FFFFFF
##402C361.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3036
Deuteranopia (green-blind)
#323335
Tritanopia (blue-blind)
#432C2F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402c36;
/* rgb */ color: rgb(64, 44, 54);
/* oklch */ color: oklch(32.0% 0.034 347.7);
Tailwind
colors: {
  custom: {
    50: '#75656d',
    500: '#402c36',
    950: '#000000',
  },
}
SCSS
$custom: #402c36;
$custom-light: #75656d;
$custom-dark: #000000;
JSON
{
  "hex": "#402c36",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 54
  },
  "hsl": {
    "h": 330,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32039,
    "c": 0.03355,
    "h": 347.7
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#402C36
secondary
#577164
accent
#BB946D
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080507
muted
#7B7A7A

Preview Lab

Preview with #402C36

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

Preview Lab → · Contrast checker → · Palette generator →

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