#401B2B#401B2B

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

Color values

HEX#401B2B
RGBrgb(64, 27, 43)
HSLhsl(334, 41%, 18%)
HSVhsv(334, 58%, 25%)
CMYKcmyk(0%, 57.8%, 32.8%, 74.9%)
CIE-LABlab(15.74, 20.19, -2.31)
CIE-LCHlch(15.74, 20.32, 353.46°)
OKLaboklab(28.16% 0.0611 -0.0058)
OKLCHoklch(28.16% 0.061 354.5)
XYZxyz(2.9424, 2.0485, 2.5255)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B2B #1B4030
analogous
#401B3D #401B2B #401D1B
triadic
#401B2B #2B401B #1B2B40
tetradic
#401B2B #3D401B #1B4030 #1D1B40
square
#401B2B #3D401B #1B4030 #1D1B40
split-complementary
#401B2B #1B401D #1B3D40
monochromatic
#16090E #16090E #401B2B #6B2D48 #963F65

Accessibility & contrast

On white

14.90
#401B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B2B
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B2B#FFFFFF#000000##FFFFFF
##401B2B1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401b2b;
/* rgb */ color: rgb(64, 27, 43);
/* oklch */ color: oklch(28.2% 0.061 354.5);
Tailwind
colors: {
  custom: {
    50: '#765964',
    500: '#401b2b',
    950: '#000000',
  },
}
SCSS
$custom: #401b2b;
$custom-light: #765964;
$custom-dark: #000000;
JSON
{
  "hex": "#401b2b",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 334.054,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28162,
    "c": 0.0614,
    "h": 354.5
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#401B2B
secondary
#41755F
accent
#D19C57
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #401B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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