#400322#400322

#400322 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.6% C 0.095 H 356.1°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#400322
RGBrgb(64, 3, 34)
HSLhsl(330, 91%, 13%)
HSVhsv(330, 95%, 25%)
CMYKcmyk(0%, 95.3%, 46.9%, 74.9%)
CIE-LABlab(11.07, 30.73, -2.62)
CIE-LCHlch(11.07, 30.84, 355.13°)
OKLaboklab(24.59% 0.0948 -0.0065)
OKLCHoklch(24.59% 0.095 356.1)
XYZxyz(2.4358, 1.2709, 1.6301)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400322 #034021
analogous
#3F0340 #400322 #400304
triadic
#400322 #224003 #032240
tetradic
#400322 #403F03 #034021 #030440
square
#400322 #403F03 #034021 #030440
split-complementary
#400322 #044003 #03403F
monochromatic
#1D0110 #1D0110 #400322 #7A0641 #B50860

Accessibility & contrast

On white

16.74
#400322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#400322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400322
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400322#FFFFFF#000000##FFFFFF
##4003221.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111623
Deuteranopia (green-blind)
#222221
Tritanopia (blue-blind)
#460011
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400322;
/* rgb */ color: rgb(64, 3, 34);
/* oklch */ color: oklch(24.6% 0.095 356.1);
Tailwind
colors: {
  custom: {
    50: '#794c5c',
    500: '#400322',
    950: '#000000',
  },
}
SCSS
$custom: #400322;
$custom-light: #794c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#400322",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 34
  },
  "hsl": {
    "h": 329.508,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24593,
    "c": 0.09498,
    "h": 356.1
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#400322
secondary
#1D824F
accent
#FF9229
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400322

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

Preview Lab → · Contrast checker → · Palette generator →

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