#401B33#401B33

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

Color values

HEX#401B33
RGBrgb(64, 27, 51)
HSLhsl(321, 41%, 18%)
HSVhsv(321, 58%, 25%)
CMYKcmyk(0%, 57.8%, 20.3%, 74.9%)
CIE-LABlab(16.07, 21.59, -7.54)
CIE-LCHlch(16.07, 22.86, 340.75°)
OKLaboklab(28.52% 0.064 -0.0201)
OKLCHoklch(28.52% 0.067 342.6)
XYZxyz(3.1039, 2.1131, 3.3757)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B33 #1B4028
analogous
#3A1B40 #401B33 #401B20
triadic
#401B33 #33401B #1B3340
tetradic
#401B33 #403A1B #1B4028 #1B2040
square
#401B33 #403A1B #1B4028 #1B2040
split-complementary
#401B33 #20401B #1B403A
monochromatic
#160911 #160911 #401B33 #6B2D55 #963F78

Accessibility & contrast

On white

14.76
#401B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B33
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B33#FFFFFF#000000##FFFFFF
##401B331.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2434
Deuteranopia (green-blind)
#272A32
Tritanopia (blue-blind)
#441B24
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b33;
/* rgb */ color: rgb(64, 27, 51);
/* oklch */ color: oklch(28.5% 0.067 342.6);
Tailwind
colors: {
  custom: {
    50: '#76596a',
    500: '#401b33',
    950: '#000000',
  },
}
SCSS
$custom: #401b33;
$custom-light: #76596a;
$custom-dark: #000000;
JSON
{
  "hex": "#401b33",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 321.081,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28517,
    "c": 0.06711,
    "h": 342.6
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#401B33
secondary
#417554
accent
#D18257
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #401B33

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

Preview Lab → · Contrast checker → · Palette generator →

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