#400328#400328

#400328 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.9% C 0.098 H 349.7°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#400328
RGBrgb(64, 3, 40)
HSLhsl(324, 91%, 13%)
HSVhsv(324, 95%, 25%)
CMYKcmyk(0%, 95.3%, 37.5%, 74.9%)
CIE-LABlab(11.34, 31.47, -6.73)
CIE-LCHlch(11.34, 32.18, 347.93°)
OKLaboklab(24.87% 0.0966 -0.0176)
OKLCHoklch(24.87% 0.098 349.7)
XYZxyz(2.5301, 1.3086, 2.1264)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400328 #03401B
analogous
#390340 #400328 #400309
triadic
#400328 #284003 #032840
tetradic
#400328 #403903 #03401B #030940
square
#400328 #403903 #03401B #030940
split-complementary
#400328 #094003 #034039
monochromatic
#1D0112 #1D0112 #400328 #7A064D #B50871

Accessibility & contrast

On white

16.65
#400328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400328
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400328#FFFFFF#000000##FFFFFF
##4003281.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1729
Deuteranopia (green-blind)
#202227
Tritanopia (blue-blind)
#460015
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400328;
/* rgb */ color: rgb(64, 3, 40);
/* oklch */ color: oklch(24.9% 0.098 349.7);
Tailwind
colors: {
  custom: {
    50: '#784c61',
    500: '#400328',
    950: '#000000',
  },
}
SCSS
$custom: #400328;
$custom-light: #784c61;
$custom-dark: #000000;
JSON
{
  "hex": "#400328",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 323.607,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24872,
    "c": 0.09819,
    "h": 349.7
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#400328
secondary
#1D8245
accent
#FF7D29
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090105
muted
#7B7779

Preview Lab

Preview with #400328

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

Preview Lab → · Contrast checker → · Palette generator →

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