#401B2A#401B2A

#401B2A is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.1% C 0.061 H 356.1°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#401B2A
RGBrgb(64, 27, 42)
HSLhsl(336, 41%, 18%)
HSVhsv(336, 58%, 25%)
CMYKcmyk(0%, 57.8%, 34.4%, 74.9%)
CIE-LABlab(15.70, 20.03, -1.65)
CIE-LCHlch(15.70, 20.09, 355.29°)
OKLaboklab(28.12% 0.0607 -0.0041)
OKLCHoklch(28.12% 0.061 356.1)
XYZxyz(2.9243, 2.0413, 2.4300)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B2A #1B4031
analogous
#401B3C #401B2A #401F1B
triadic
#401B2A #2A401B #1B2A40
tetradic
#401B2A #3C401B #1B4031 #1F1B40
square
#401B2A #3C401B #1B4031 #1F1B40
split-complementary
#401B2A #1B401F #1B3C40
monochromatic
#16090E #16090E #401B2A #6B2D46 #963F62

Accessibility & contrast

On white

14.91
#401B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#401B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B2A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B2A#FFFFFF#000000##FFFFFF
##401B2A1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232A
Deuteranopia (green-blind)
#2A2A29
Tritanopia (blue-blind)
#451921
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401b2a;
/* rgb */ color: rgb(64, 27, 42);
/* oklch */ color: oklch(28.1% 0.061 356.1);
Tailwind
colors: {
  custom: {
    50: '#765963',
    500: '#401b2a',
    950: '#000000',
  },
}
SCSS
$custom: #401b2a;
$custom-light: #765963;
$custom-dark: #000000;
JSON
{
  "hex": "#401b2a",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 335.676,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28121,
    "c": 0.06085,
    "h": 356.1
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#401B2A
secondary
#417560
accent
#D19F57
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #401B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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