#400327#400327

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

Color values

HEX#400327
RGBrgb(64, 3, 39)
HSLhsl(325, 91%, 13%)
HSVhsv(325, 95%, 25%)
CMYKcmyk(0%, 95.3%, 39.1%, 74.9%)
CIE-LABlab(11.29, 31.34, -6.05)
CIE-LCHlch(11.29, 31.92, 349.07°)
OKLaboklab(24.82% 0.0963 -0.0157)
OKLCHoklch(24.82% 0.098 350.7)
XYZxyz(2.5133, 1.3019, 2.0380)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400327 #03401C
analogous
#3A0340 #400327 #400308
triadic
#400327 #274003 #032740
tetradic
#400327 #403A03 #03401C #030840
square
#400327 #403A03 #03401C #030840
split-complementary
#400327 #084003 #03403A
monochromatic
#1D0112 #1D0112 #400327 #7A064B #B5086E

Accessibility & contrast

On white

16.66
#400327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400327
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400327#FFFFFF#000000##FFFFFF
##4003271.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1728
Deuteranopia (green-blind)
#212226
Tritanopia (blue-blind)
#460014
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400327;
/* rgb */ color: rgb(64, 3, 39);
/* oklch */ color: oklch(24.8% 0.098 350.7);
Tailwind
colors: {
  custom: {
    50: '#784c61',
    500: '#400327',
    950: '#000000',
  },
}
SCSS
$custom: #400327;
$custom-light: #784c61;
$custom-dark: #000000;
JSON
{
  "hex": "#400327",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 39
  },
  "hsl": {
    "h": 324.59,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24823,
    "c": 0.0976,
    "h": 350.7
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#400327
secondary
#1D8246
accent
#FF8129
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090105
muted
#7B7779

Preview Lab

Preview with #400327

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

Preview Lab → · Contrast checker → · Palette generator →

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