#402A32#402A32

#402A32 is a dark, muted pink. Relative luminance 0.030; OKLCH L 31.4% C 0.035 H 355.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#402A32
RGBrgb(64, 42, 50)
HSLhsl(338, 21%, 21%)
HSVhsv(338, 34%, 25%)
CMYKcmyk(0%, 34.4%, 21.9%, 74.9%)
CIE-LABlab(19.95, 11.68, -1.04)
CIE-LCHlch(19.95, 11.73, 354.93°)
OKLaboklab(31.44% 0.0349 -0.0026)
OKLCHoklch(31.44% 0.035 355.8)
XYZxyz(3.5181, 2.9764, 3.4062)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A32 #2A4038
analogous
#402A3D #402A32 #402D2A
triadic
#402A32 #32402A #2A3240
tetradic
#402A32 #3D402A #2A4038 #2D2A40
square
#402A32 #3D402A #2A4038 #2D2A40
split-complementary
#402A32 #2A402D #2A3D40
monochromatic
#120C0E #1B1215 #402A32 #65424F #8A5A6C

Accessibility & contrast

On white

13.16
#402A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#402A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A32
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A32#FFFFFF#000000##FFFFFF
##402A321.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2E32
Deuteranopia (green-blind)
#323231
Tritanopia (blue-blind)
#43292D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #402a32;
/* rgb */ color: rgb(64, 42, 50);
/* oklch */ color: oklch(31.4% 0.035 355.8);
Tailwind
colors: {
  custom: {
    50: '#756369',
    500: '#402a32',
    950: '#000000',
  },
}
SCSS
$custom: #402a32;
$custom-light: #756369;
$custom-dark: #000000;
JSON
{
  "hex": "#402a32",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 50
  },
  "hsl": {
    "h": 338.182,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31442,
    "c": 0.03503,
    "h": 355.8
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#402A32
secondary
#557167
accent
#BD9F6A
background
#F7F5F6
surface
#EDEAEB
border
#C8C6C6
text
#080506
muted
#7B797A

Preview Lab

Preview with #402A32

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

Preview Lab → · Contrast checker → · Palette generator →

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