#400326#400326

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

Color values

HEX#400326
RGBrgb(64, 3, 38)
HSLhsl(326, 91%, 13%)
HSVhsv(326, 95%, 25%)
CMYKcmyk(0%, 95.3%, 40.6%, 74.9%)
CIE-LABlab(11.24, 31.21, -5.37)
CIE-LCHlch(11.24, 31.67, 350.23°)
OKLaboklab(24.78% 0.096 -0.0139)
OKLCHoklch(24.78% 0.097 351.8)
XYZxyz(2.4969, 1.2954, 1.9519)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400326 #03401D
analogous
#3B0340 #400326 #400307
triadic
#400326 #264003 #032640
tetradic
#400326 #403B03 #03401D #030740
square
#400326 #403B03 #03401D #030740
split-complementary
#400326 #074003 #03403B
monochromatic
#1D0111 #1D0111 #400326 #7A0649 #B5086B

Accessibility & contrast

On white

16.68
#400326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400326
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400326#FFFFFF#000000##FFFFFF
##4003261.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400326;
/* rgb */ color: rgb(64, 3, 38);
/* oklch */ color: oklch(24.8% 0.097 351.8);
Tailwind
colors: {
  custom: {
    50: '#784c60',
    500: '#400326',
    950: '#000000',
  },
}
SCSS
$custom: #400326;
$custom-light: #784c60;
$custom-dark: #000000;
JSON
{
  "hex": "#400326",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 38
  },
  "hsl": {
    "h": 325.574,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24775,
    "c": 0.09704,
    "h": 351.8
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#400326
secondary
#1D8248
accent
#FF8429
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400326

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

Preview Lab → · Contrast checker → · Palette generator →

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