#401E34#401E34

#401E34 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.1% C 0.062 H 342.2°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#401E34
RGBrgb(64, 30, 52)
HSLhsl(321, 36%, 18%)
HSVhsv(321, 53%, 25%)
CMYKcmyk(0%, 53.1%, 18.8%, 74.9%)
CIE-LABlab(16.83, 19.92, -7.09)
CIE-LCHlch(16.83, 21.15, 340.40°)
OKLaboklab(29.1% 0.0589 -0.0189)
OKLCHoklch(29.1% 0.062 342.2)
XYZxyz(3.1985, 2.2667, 3.5172)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401E34 #1E402A
analogous
#3B1E40 #401E34 #401E23
triadic
#401E34 #34401E #1E3440
tetradic
#401E34 #403B1E #1E402A #1E2340
square
#401E34 #403B1E #1E402A #1E2340
split-complementary
#401E34 #23401E #1E403B
monochromatic
#150A11 #160A12 #401E34 #6A3256 #934578

Accessibility & contrast

On white

14.45
#401E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#401E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401E34
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401E34#FFFFFF#000000##FFFFFF
##401E341.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202635
Deuteranopia (green-blind)
#292C33
Tritanopia (blue-blind)
#441E26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #401e34;
/* rgb */ color: rgb(64, 30, 52);
/* oklch */ color: oklch(29.1% 0.062 342.2);
Tailwind
colors: {
  custom: {
    50: '#765b6b',
    500: '#401e34',
    950: '#000000',
  },
}
SCSS
$custom: #401e34;
$custom-light: #765b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#401e34",
  "rgb": {
    "r": 64,
    "g": 30,
    "b": 52
  },
  "hsl": {
    "h": 321.176,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29099,
    "c": 0.06182,
    "h": 342.2
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#401E34
secondary
#457456
accent
#CC835C
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080406
muted
#7B797A

Preview Lab

Preview with #401E34

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

Preview Lab → · Contrast checker → · Palette generator →

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