#401321#401321

#401321 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.5% C 0.071 H 4.1°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#401321
RGBrgb(64, 19, 33)
HSLhsl(341, 54%, 16%)
HSVhsv(341, 70%, 25%)
CMYKcmyk(0%, 70.3%, 48.4%, 74.9%)
CIE-LABlab(13.63, 23.38, 1.87)
CIE-LCHlch(13.63, 23.45, 4.57°)
OKLaboklab(26.46% 0.0713 0.0051)
OKLCHoklch(26.46% 0.071 4.1)
XYZxyz(2.6219, 1.6658, 1.6220)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401321 #134032
analogous
#401338 #401321 #401C13
triadic
#401321 #214013 #132140
tetradic
#401321 #384013 #134032 #1C1340
square
#401321 #384013 #134032 #1C1340
split-complementary
#401321 #13401C #133840
monochromatic
#18070C #18070C #401321 #6F2139 #9E2F52

Accessibility & contrast

On white

15.75
#401321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#401321 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401321
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401321#FFFFFF#000000##FFFFFF
##4013211.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D21
Deuteranopia (green-blind)
#282620
Tritanopia (blue-blind)
#460E18
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401321;
/* rgb */ color: rgb(64, 19, 33);
/* oklch */ color: oklch(26.5% 0.071 4.1);
Tailwind
colors: {
  custom: {
    50: '#78535c',
    500: '#401321',
    950: '#000000',
  },
}
SCSS
$custom: #401321;
$custom-light: #78535c;
$custom-dark: #000000;
JSON
{
  "hex": "#401321",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 33
  },
  "hsl": {
    "h": 341.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26463,
    "c": 0.07149,
    "h": 4.1
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#401321
secondary
#367964
accent
#DEB04A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401321

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

Preview Lab → · Contrast checker → · Palette generator →

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