#401B2C#401B2C

#401B2C is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.2% C 0.062 H 352.9°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#401B2C
RGBrgb(64, 27, 44)
HSLhsl(332, 41%, 18%)
HSVhsv(332, 58%, 25%)
CMYKcmyk(0%, 57.8%, 31.2%, 74.9%)
CIE-LABlab(15.78, 20.35, -2.97)
CIE-LCHlch(15.78, 20.57, 351.69°)
OKLaboklab(28.2% 0.0615 -0.0076)
OKLCHoklch(28.2% 0.062 352.9)
XYZxyz(2.9610, 2.0560, 2.6233)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B2C #1B402F
analogous
#401B3E #401B2C #401C1B
triadic
#401B2C #2C401B #1B2C40
tetradic
#401B2C #3E401B #1B402F #1C1B40
square
#401B2C #3E401B #1B402F #1C1B40
split-complementary
#401B2C #1B401C #1B3E40
monochromatic
#16090F #16090F #401B2C #6B2D4A #963F67

Accessibility & contrast

On white

14.88
#401B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B2C
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B2C#FFFFFF#000000##FFFFFF
##401B2C1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232D
Deuteranopia (green-blind)
#292A2B
Tritanopia (blue-blind)
#451921
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401b2c;
/* rgb */ color: rgb(64, 27, 44);
/* oklch */ color: oklch(28.2% 0.062 352.9);
Tailwind
colors: {
  custom: {
    50: '#765965',
    500: '#401b2c',
    950: '#000000',
  },
}
SCSS
$custom: #401b2c;
$custom-light: #765965;
$custom-dark: #000000;
JSON
{
  "hex": "#401b2c",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 332.432,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28203,
    "c": 0.06199,
    "h": 352.9
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#401B2C
secondary
#41755E
accent
#D19957
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #401B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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