#402636#402636

#402636 is a dark, muted pink. Relative luminance 0.027; OKLCH L 30.8% C 0.047 H 342.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#402636
RGBrgb(64, 38, 54)
HSLhsl(323, 25%, 20%)
HSVhsv(323, 41%, 25%)
CMYKcmyk(0%, 40.6%, 15.6%, 74.9%)
CIE-LABlab(18.98, 15.14, -5.25)
CIE-LCHlch(18.98, 16.02, 340.87°)
OKLaboklab(30.75% 0.0444 -0.0139)
OKLCHoklch(30.75% 0.047 342.6)
XYZxyz(3.4733, 2.7427, 3.8358)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402636 #264030
analogous
#3D2640 #402636 #402629
triadic
#402636 #364026 #263640
tetradic
#402636 #403D26 #264030 #262940
square
#402636 #403D26 #264030 #262940
split-complementary
#402636 #294026 #26403D
monochromatic
#130B10 #1A0F16 #402636 #663D56 #8D5477

Accessibility & contrast

On white

13.56
#402636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#402636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402636
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402636#FFFFFF#000000##FFFFFF
##4026361.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C37
Deuteranopia (green-blind)
#2E3035
Tritanopia (blue-blind)
#43262C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402636;
/* rgb */ color: rgb(64, 38, 54);
/* oklch */ color: oklch(30.8% 0.047 342.6);
Tailwind
colors: {
  custom: {
    50: '#75606d',
    500: '#402636',
    950: '#000000',
  },
}
SCSS
$custom: #402636;
$custom-light: #75606d;
$custom-dark: #000000;
JSON
{
  "hex": "#402636",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 54
  },
  "hsl": {
    "h": 323.077,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.30753,
    "c": 0.04652,
    "h": 342.6
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#402636
secondary
#50725D
accent
#C28966
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080507
muted
#7B797A

Preview Lab

Preview with #402636

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

Preview Lab → · Contrast checker → · Palette generator →

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