#402632#402632

#402632 is a dark, muted pink. Relative luminance 0.027; OKLCH L 30.6% C 0.043 H 350.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#402632
RGBrgb(64, 38, 50)
HSLhsl(332, 25%, 20%)
HSVhsv(332, 41%, 25%)
CMYKcmyk(0%, 40.6%, 21.9%, 74.9%)
CIE-LABlab(18.83, 14.35, -2.69)
CIE-LCHlch(18.83, 14.60, 349.38°)
OKLaboklab(30.59% 0.0428 -0.0069)
OKLCHoklch(30.59% 0.043 350.8)
XYZxyz(3.3832, 2.7067, 3.3612)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402632 #264034
analogous
#40263F #402632 #402726
triadic
#402632 #324026 #263240
tetradic
#402632 #3F4026 #264034 #272640
square
#402632 #3F4026 #264034 #272640
split-complementary
#402632 #264027 #263F40
monochromatic
#130B0F #1A0F14 #402632 #663D50 #8D546E

Accessibility & contrast

On white

13.62
#402632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#402632 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402632
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402632#FFFFFF#000000##FFFFFF
##4026321.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B32
Deuteranopia (green-blind)
#2F2F31
Tritanopia (blue-blind)
#44252A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402632;
/* rgb */ color: rgb(64, 38, 50);
/* oklch */ color: oklch(30.6% 0.043 350.8);
Tailwind
colors: {
  custom: {
    50: '#756069',
    500: '#402632',
    950: '#000000',
  },
}
SCSS
$custom: #402632;
$custom-light: #756069;
$custom-dark: #000000;
JSON
{
  "hex": "#402632",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 50
  },
  "hsl": {
    "h": 332.308,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.30585,
    "c": 0.04334,
    "h": 350.8
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#402632
secondary
#507262
accent
#C29766
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080506
muted
#7B797A

Preview Lab

Preview with #402632

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

Preview Lab → · Contrast checker → · Palette generator →

#402632 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva