#400324#400324

#400324 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.7% C 0.096 H 353.9°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#400324
RGBrgb(64, 3, 36)
HSLhsl(328, 91%, 13%)
HSVhsv(328, 95%, 25%)
CMYKcmyk(0%, 95.3%, 43.8%, 74.9%)
CIE-LABlab(11.15, 30.96, -4.00)
CIE-LCHlch(11.15, 31.22, 352.63°)
OKLaboklab(24.68% 0.0954 -0.0102)
OKLCHoklch(24.68% 0.096 353.9)
XYZxyz(2.4655, 1.2828, 1.7865)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400324 #03401F
analogous
#3D0340 #400324 #400305
triadic
#400324 #244003 #032440
tetradic
#400324 #403D03 #03401F #030540
square
#400324 #403D03 #03401F #030540
split-complementary
#400324 #054003 #03403D
monochromatic
#1D0110 #1D0110 #400324 #7A0645 #B50866

Accessibility & contrast

On white

16.71
#400324 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400324
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400324#FFFFFF#000000##FFFFFF
##4003241.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101725
Deuteranopia (green-blind)
#212223
Tritanopia (blue-blind)
#460012
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400324;
/* rgb */ color: rgb(64, 3, 36);
/* oklch */ color: oklch(24.7% 0.096 353.9);
Tailwind
colors: {
  custom: {
    50: '#784c5e',
    500: '#400324',
    950: '#000000',
  },
}
SCSS
$custom: #400324;
$custom-light: #784c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#400324",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 36
  },
  "hsl": {
    "h": 327.541,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24682,
    "c": 0.09597,
    "h": 353.9
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#400324
secondary
#1D824B
accent
#FF8B29
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400324

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

Preview Lab → · Contrast checker → · Palette generator →

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