#400432#400432

#400432 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.5% C 0.103 H 340.0°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#400432
RGBrgb(64, 4, 50)
HSLhsl(314, 88%, 13%)
HSVhsv(314, 94%, 25%)
CMYKcmyk(0%, 93.8%, 21.9%, 74.9%)
CIE-LABlab(12.01, 32.47, -13.07)
CIE-LCHlch(12.01, 35.01, 338.07°)
OKLaboklab(25.53% 0.0972 -0.0354)
OKLCHoklch(25.53% 0.103 340)
XYZxyz(2.7336, 1.4074, 3.1447)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400432 #044012
analogous
#300440 #400432 #400414
triadic
#400432 #324004 #043240
tetradic
#400432 #403004 #044012 #041440
square
#400432 #403004 #044012 #041440
split-complementary
#400432 #144004 #044030
monochromatic
#1D0216 #1D0216 #400432 #7A085F #B30B8C

Accessibility & contrast

On white

16.39
#400432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400432
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400432#FFFFFF#000000##FFFFFF
##4004321.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081933
Deuteranopia (green-blind)
#1D2331
Tritanopia (blue-blind)
#44061B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400432;
/* rgb */ color: rgb(64, 4, 50);
/* oklch */ color: oklch(25.5% 0.103 340.0);
Tailwind
colors: {
  custom: {
    50: '#784d6a',
    500: '#400432',
    950: '#000000',
  },
}
SCSS
$custom: #400432;
$custom-light: #784d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#400432",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 314,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25525,
    "c": 0.10342,
    "h": 340
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#400432
secondary
#1F8136
accent
#FE5B29
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400432

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

Preview Lab → · Contrast checker → · Palette generator →

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