#401B28#401B28

#401B28 is a dark, muted pink. Relative luminance 0.020; OKLCH L 28.0% C 0.060 H 359.4°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#401B28
RGBrgb(64, 27, 40)
HSLhsl(339, 41%, 18%)
HSVhsv(339, 58%, 25%)
CMYKcmyk(0%, 57.8%, 37.5%, 74.9%)
CIE-LABlab(15.63, 19.71, -0.32)
CIE-LCHlch(15.63, 19.72, 359.08°)
OKLaboklab(28.04% 0.0599 -0.0006)
OKLCHoklch(28.04% 0.06 359.4)
XYZxyz(2.8894, 2.0273, 2.2462)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B28 #1B4033
analogous
#401B3A #401B28 #40201B
triadic
#401B28 #28401B #1B2840
tetradic
#401B28 #3A401B #1B4033 #201B40
square
#401B28 #3A401B #1B4033 #201B40
split-complementary
#401B28 #1B4020 #1B3A40
monochromatic
#16090D #16090D #401B28 #6B2D43 #963F5E

Accessibility & contrast

On white

14.94
#401B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B28
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B28#FFFFFF#000000##FFFFFF
##401B281.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212328
Deuteranopia (green-blind)
#2A2A27
Tritanopia (blue-blind)
#451820
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401b28;
/* rgb */ color: rgb(64, 27, 40);
/* oklch */ color: oklch(28.0% 0.060 359.4);
Tailwind
colors: {
  custom: {
    50: '#765961',
    500: '#401b28',
    950: '#000000',
  },
}
SCSS
$custom: #401b28;
$custom-light: #765961;
$custom-dark: #000000;
JSON
{
  "hex": "#401b28",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 338.919,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28043,
    "c": 0.05987,
    "h": 359.4
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#401B28
secondary
#417563
accent
#D1A657
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090305
muted
#7B7879

Preview Lab

Preview with #401B28

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

Preview Lab → · Contrast checker → · Palette generator →

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