#400321#400321

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

Color values

HEX#400321
RGBrgb(64, 3, 33)
HSLhsl(330, 91%, 13%)
HSVhsv(330, 95%, 25%)
CMYKcmyk(0%, 95.3%, 48.4%, 74.9%)
CIE-LABlab(11.03, 30.62, -1.92)
CIE-LCHlch(11.03, 30.68, 356.41°)
OKLaboklab(24.55% 0.0944 -0.0047)
OKLCHoklch(24.55% 0.095 357.2)
XYZxyz(2.4216, 1.2653, 1.5552)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400321 #034022
analogous
#40033F #400321 #400403
triadic
#400321 #214003 #032140
tetradic
#400321 #3F4003 #034022 #040340
square
#400321 #3F4003 #034022 #040340
split-complementary
#400321 #034004 #033F40
monochromatic
#1D010F #1D010F #400321 #7A063F #B5085D

Accessibility & contrast

On white

16.76
#400321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400321
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400321#FFFFFF#000000##FFFFFF
##4003211.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400321;
/* rgb */ color: rgb(64, 3, 33);
/* oklch */ color: oklch(24.6% 0.095 357.2);
Tailwind
colors: {
  custom: {
    50: '#794c5c',
    500: '#400321',
    950: '#000000',
  },
}
SCSS
$custom: #400321;
$custom-light: #794c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#400321",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 33
  },
  "hsl": {
    "h": 330.492,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24551,
    "c": 0.09452,
    "h": 357.2
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#400321
secondary
#1D8250
accent
#FF9629
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400321

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

Preview Lab → · Contrast checker → · Palette generator →

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