#401B34#401B34

#401B34 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.6% C 0.068 H 341.3°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#401B34
RGBrgb(64, 27, 52)
HSLhsl(319, 41%, 18%)
HSVhsv(319, 58%, 25%)
CMYKcmyk(0%, 57.8%, 18.8%, 74.9%)
CIE-LABlab(16.11, 21.77, -8.18)
CIE-LCHlch(16.11, 23.26, 339.41°)
OKLaboklab(28.57% 0.0644 -0.0218)
OKLCHoklch(28.57% 0.068 341.3)
XYZxyz(3.1262, 2.1220, 3.4931)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B34 #1B4027
analogous
#391B40 #401B34 #401B22
triadic
#401B34 #34401B #1B3440
tetradic
#401B34 #40391B #1B4027 #1B2240
square
#401B34 #40391B #1B4027 #1B2240
split-complementary
#401B34 #22401B #1B4039
monochromatic
#160911 #160911 #401B34 #6B2D57 #963F7A

Accessibility & contrast

On white

14.74
#401B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B34
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B34#FFFFFF#000000##FFFFFF
##401B341.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2435
Deuteranopia (green-blind)
#272A33
Tritanopia (blue-blind)
#441B25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b34;
/* rgb */ color: rgb(64, 27, 52);
/* oklch */ color: oklch(28.6% 0.068 341.3);
Tailwind
colors: {
  custom: {
    50: '#76596b',
    500: '#401b34',
    950: '#000000',
  },
}
SCSS
$custom: #401b34;
$custom-light: #76596b;
$custom-dark: #000000;
JSON
{
  "hex": "#401b34",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 52
  },
  "hsl": {
    "h": 319.459,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28566,
    "c": 0.06796,
    "h": 341.3
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#401B34
secondary
#417552
accent
#D17F57
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #401B34

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

Preview Lab → · Contrast checker → · Palette generator →

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