#400325#400325

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

Color values

HEX#400325
RGBrgb(64, 3, 37)
HSLhsl(327, 91%, 13%)
HSVhsv(327, 95%, 25%)
CMYKcmyk(0%, 95.3%, 42.2%, 74.9%)
CIE-LABlab(11.20, 31.09, -4.69)
CIE-LCHlch(11.20, 31.44, 351.42°)
OKLaboklab(24.73% 0.0957 -0.012)
OKLCHoklch(24.73% 0.097 352.8)
XYZxyz(2.4810, 1.2890, 1.8681)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400325 #03401E
analogous
#3C0340 #400325 #400307
triadic
#400325 #254003 #032540
tetradic
#400325 #403C03 #03401E #030740
square
#400325 #403C03 #03401E #030740
split-complementary
#400325 #074003 #03403C
monochromatic
#1D0111 #1D0111 #400325 #7A0647 #B50869

Accessibility & contrast

On white

16.70
#400325 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400325
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400325#FFFFFF#000000##FFFFFF
##4003251.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1726
Deuteranopia (green-blind)
#212224
Tritanopia (blue-blind)
#460013
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400325;
/* rgb */ color: rgb(64, 3, 37);
/* oklch */ color: oklch(24.7% 0.097 352.8);
Tailwind
colors: {
  custom: {
    50: '#784c5f',
    500: '#400325',
    950: '#000000',
  },
}
SCSS
$custom: #400325;
$custom-light: #784c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#400325",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 37
  },
  "hsl": {
    "h": 326.557,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24728,
    "c": 0.0965,
    "h": 352.8
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#400325
secondary
#1D824A
accent
#FF8829
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400325

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

Preview Lab → · Contrast checker → · Palette generator →

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