#401B39#401B39

#401B39 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 28.8% C 0.073 H 335.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#401B39
RGBrgb(64, 27, 57)
HSLhsl(311, 41%, 18%)
HSVhsv(311, 58%, 25%)
CMYKcmyk(0%, 57.8%, 10.9%, 74.9%)
CIE-LABlab(16.35, 22.75, -11.35)
CIE-LCHlch(16.35, 25.42, 333.48°)
OKLaboklab(28.82% 0.0658 -0.0307)
OKLCHoklch(28.82% 0.073 335)
XYZxyz(3.2448, 2.1695, 4.1179)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B39 #1B4022
analogous
#341B40 #401B39 #401B26
triadic
#401B39 #39401B #1B3940
tetradic
#401B39 #40341B #1B4022 #1B2640
square
#401B39 #40341B #1B4022 #1B2640
split-complementary
#401B39 #26401B #1B4034
monochromatic
#160913 #160913 #401B39 #6B2D5F #963F86

Accessibility & contrast

On white

14.65
#401B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#401B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B39
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B39#FFFFFF#000000##FFFFFF
##401B391.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B253A
Deuteranopia (green-blind)
#252B38
Tritanopia (blue-blind)
#431D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b39;
/* rgb */ color: rgb(64, 27, 57);
/* oklch */ color: oklch(28.8% 0.073 335.0);
Tailwind
colors: {
  custom: {
    50: '#76596f',
    500: '#401b39',
    950: '#000000',
  },
}
SCSS
$custom: #401b39;
$custom-light: #76596f;
$custom-dark: #000000;
JSON
{
  "hex": "#401b39",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 311.351,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28821,
    "c": 0.07262,
    "h": 335
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#401B39
secondary
#41754B
accent
#D16E57
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #401B39

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

Preview Lab → · Contrast checker → · Palette generator →

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