#402432#402432

#402432 is a dark, muted pink. Relative luminance 0.026; OKLCH L 30.2% C 0.048 H 349.0°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#402432
RGBrgb(64, 36, 50)
HSLhsl(330, 28%, 20%)
HSVhsv(330, 44%, 25%)
CMYKcmyk(0%, 43.8%, 21.9%, 74.9%)
CIE-LABlab(18.29, 15.67, -3.50)
CIE-LCHlch(18.29, 16.06, 347.43°)
OKLaboklab(30.17% 0.0467 -0.0091)
OKLCHoklch(30.17% 0.048 349)
XYZxyz(3.3210, 2.5822, 3.3405)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402432 #244032
analogous
#402440 #402432 #402424
triadic
#402432 #324024 #243240
tetradic
#402432 #404024 #244032 #242440
square
#402432 #404024 #244032 #242440
split-complementary
#402432 #244024 #244040
monochromatic
#140B0F #190E13 #402432 #673A51 #8E506F

Accessibility & contrast

On white

13.85
#402432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#402432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402432
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402432#FFFFFF#000000##FFFFFF
##4024321.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A33
Deuteranopia (green-blind)
#2D2E31
Tritanopia (blue-blind)
#442329
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402432;
/* rgb */ color: rgb(64, 36, 50);
/* oklch */ color: oklch(30.2% 0.048 349.0);
Tailwind
colors: {
  custom: {
    50: '#755f69',
    500: '#402432',
    950: '#000000',
  },
}
SCSS
$custom: #402432;
$custom-light: #755f69;
$custom-dark: #000000;
JSON
{
  "hex": "#402432",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 50
  },
  "hsl": {
    "h": 330,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30173,
    "c": 0.04756,
    "h": 349
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#402432
secondary
#4D7360
accent
#C49463
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080406
muted
#7B797A

Preview Lab

Preview with #402432

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

Preview Lab → · Contrast checker → · Palette generator →

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