#401323#401323

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

Color values

HEX#401323
RGBrgb(64, 19, 35)
HSLhsl(339, 54%, 16%)
HSVhsv(339, 70%, 25%)
CMYKcmyk(0%, 70.3%, 45.3%, 74.9%)
CIE-LABlab(13.69, 23.64, 0.49)
CIE-LCHlch(13.69, 23.64, 1.20°)
OKLaboklab(26.54% 0.0722 0.0016)
OKLCHoklch(26.54% 0.072 1.2)
XYZxyz(2.6508, 1.6774, 1.7740)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401323 #134030
analogous
#40133A #401323 #401A13
triadic
#401323 #234013 #132340
tetradic
#401323 #3A4013 #134030 #1A1340
square
#401323 #3A4013 #134030 #1A1340
split-complementary
#401323 #13401A #133A40
monochromatic
#18070D #18070D #401323 #6F213D #9E2F57

Accessibility & contrast

On white

15.73
#401323 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401323 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401323
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401323#FFFFFF#000000##FFFFFF
##4013231.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1E23
Deuteranopia (green-blind)
#272622
Tritanopia (blue-blind)
#460E19
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401323;
/* rgb */ color: rgb(64, 19, 35);
/* oklch */ color: oklch(26.5% 0.072 1.2);
Tailwind
colors: {
  custom: {
    50: '#77535d',
    500: '#401323',
    950: '#000000',
  },
}
SCSS
$custom: #401323;
$custom-light: #77535d;
$custom-dark: #000000;
JSON
{
  "hex": "#401323",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 35
  },
  "hsl": {
    "h": 338.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26536,
    "c": 0.0722,
    "h": 1.2
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#401323
secondary
#367961
accent
#DEA94A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401323

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

Preview Lab → · Contrast checker → · Palette generator →

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