#400323#400323

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

Color values

HEX#400323
RGBrgb(64, 3, 35)
HSLhsl(329, 91%, 13%)
HSVhsv(329, 95%, 25%)
CMYKcmyk(0%, 95.3%, 45.3%, 74.9%)
CIE-LABlab(11.11, 30.85, -3.31)
CIE-LCHlch(11.11, 31.02, 353.87°)
OKLaboklab(24.64% 0.0951 -0.0083)
OKLCHoklch(24.64% 0.095 355)
XYZxyz(2.4505, 1.2768, 1.7072)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400323 #034020
analogous
#3E0340 #400323 #400304
triadic
#400323 #234003 #032340
tetradic
#400323 #403E03 #034020 #030440
square
#400323 #403E03 #034020 #030440
split-complementary
#400323 #044003 #03403E
monochromatic
#1D0110 #1D0110 #400323 #7A0643 #B50863

Accessibility & contrast

On white

16.73
#400323 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400323
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400323#FFFFFF#000000##FFFFFF
##4003231.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400323;
/* rgb */ color: rgb(64, 3, 35);
/* oklch */ color: oklch(24.6% 0.095 355.0);
Tailwind
colors: {
  custom: {
    50: '#784c5d',
    500: '#400323',
    950: '#000000',
  },
}
SCSS
$custom: #400323;
$custom-light: #784c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#400323",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 35
  },
  "hsl": {
    "h": 328.525,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24637,
    "c": 0.09547,
    "h": 355
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#400323
secondary
#1D824D
accent
#FF8F29
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400323

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

Preview Lab → · Contrast checker → · Palette generator →

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