#401B32#401B32

#401B32 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.5% C 0.066 H 344.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#401B32
RGBrgb(64, 27, 50)
HSLhsl(323, 41%, 18%)
HSVhsv(323, 58%, 25%)
CMYKcmyk(0%, 57.8%, 21.9%, 74.9%)
CIE-LABlab(16.03, 21.40, -6.89)
CIE-LCHlch(16.03, 22.48, 342.15°)
OKLaboklab(28.47% 0.0637 -0.0183)
OKLCHoklch(28.47% 0.066 344)
XYZxyz(3.0821, 2.1044, 3.2609)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B32 #1B4029
analogous
#3B1B40 #401B32 #401B1F
triadic
#401B32 #32401B #1B3240
tetradic
#401B32 #403B1B #1B4029 #1B1F40
square
#401B32 #403B1B #1B4029 #1B1F40
split-complementary
#401B32 #1F401B #1B403B
monochromatic
#160911 #160911 #401B32 #6B2D54 #963F75

Accessibility & contrast

On white

14.78
#401B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B32
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B32#FFFFFF#000000##FFFFFF
##401B321.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2433
Deuteranopia (green-blind)
#282A31
Tritanopia (blue-blind)
#441B24
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b32;
/* rgb */ color: rgb(64, 27, 50);
/* oklch */ color: oklch(28.5% 0.066 344.0);
Tailwind
colors: {
  custom: {
    50: '#765969',
    500: '#401b32',
    950: '#000000',
  },
}
SCSS
$custom: #401b32;
$custom-light: #765969;
$custom-dark: #000000;
JSON
{
  "hex": "#401b32",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 50
  },
  "hsl": {
    "h": 322.703,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2847,
    "c": 0.06628,
    "h": 344
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#401B32
secondary
#417555
accent
#D18557
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401B32

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

Preview Lab → · Contrast checker → · Palette generator →

#401B32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva