#401320#401320

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

Color values

HEX#401320
RGBrgb(64, 19, 32)
HSLhsl(343, 54%, 16%)
HSVhsv(343, 70%, 25%)
CMYKcmyk(0%, 70.3%, 50%, 74.9%)
CIE-LABlab(13.59, 23.26, 2.56)
CIE-LCHlch(13.59, 23.40, 6.28°)
OKLaboklab(26.43% 0.0709 0.0068)
OKLCHoklch(26.43% 0.071 5.5)
XYZxyz(2.6081, 1.6603, 1.5493)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401320 #134033
analogous
#401337 #401320 #401D13
triadic
#401320 #204013 #132040
tetradic
#401320 #374013 #134033 #1D1340
square
#401320 #374013 #134033 #1D1340
split-complementary
#401320 #13401D #133740
monochromatic
#18070C #18070C #401320 #6F2138 #9E2F4F

Accessibility & contrast

On white

15.77
#401320 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401320
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401320#FFFFFF#000000##FFFFFF
##4013201.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D20
Deuteranopia (green-blind)
#28261F
Tritanopia (blue-blind)
#460D18
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401320;
/* rgb */ color: rgb(64, 19, 32);
/* oklch */ color: oklch(26.4% 0.071 5.5);
Tailwind
colors: {
  custom: {
    50: '#78535b',
    500: '#401320',
    950: '#000000',
  },
}
SCSS
$custom: #401320;
$custom-light: #78535b;
$custom-dark: #000000;
JSON
{
  "hex": "#401320",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 32
  },
  "hsl": {
    "h": 342.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26428,
    "c": 0.0712,
    "h": 5.5
  },
  "luminance": 0.0166
}

Semantic roles & 50–950 ramp

primary
#401320
secondary
#367965
accent
#DEB34A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401320

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

Preview Lab → · Contrast checker → · Palette generator →

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