#402C3C#402C3C

#402C3C is a dark, muted pink. Relative luminance 0.032; OKLCH L 32.3% C 0.039 H 333.7°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#402C3C
RGBrgb(64, 44, 60)
HSLhsl(312, 19%, 21%)
HSVhsv(312, 31%, 25%)
CMYKcmyk(0%, 31.2%, 6.2%, 74.9%)
CIE-LABlab(20.90, 12.39, -6.51)
CIE-LCHlch(20.90, 14.00, 332.28°)
OKLaboklab(32.29% 0.0352 -0.0174)
OKLCHoklch(32.29% 0.039 333.7)
XYZxyz(3.8306, 3.2177, 4.6934)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C3C #2C4030
analogous
#3A2C40 #402C3C #402C32
triadic
#402C3C #3C402C #2C3C40
tetradic
#402C3C #403A2C #2C4030 #2C3240
square
#402C3C #403A2C #2C4030 #2C3240
split-complementary
#402C3C #32402C #2C403A
monochromatic
#120C11 #1C131A #402C3C #64455E #895E80

Accessibility & contrast

On white

12.78
#402C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#402C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C3C
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C3C#FFFFFF#000000##FFFFFF
##402C3C1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C313D
Deuteranopia (green-blind)
#31333B
Tritanopia (blue-blind)
#422D32
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402c3c;
/* rgb */ color: rgb(64, 44, 60);
/* oklch */ color: oklch(32.3% 0.039 333.7);
Tailwind
colors: {
  custom: {
    50: '#756571',
    500: '#402c3c',
    950: '#000000',
  },
}
SCSS
$custom: #402c3c;
$custom-light: #756571;
$custom-dark: #000000;
JSON
{
  "hex": "#402c3c",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 60
  },
  "hsl": {
    "h": 312,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32291,
    "c": 0.03932,
    "h": 333.7
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#402C3C
secondary
#57715C
accent
#BB7C6D
background
#F7F6F6
surface
#EDEBEC
border
#C8C6C7
text
#080507
muted
#7B7A7A

Preview Lab

Preview with #402C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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