#401B26#401B26

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

Color values

HEX#401B26
RGBrgb(64, 27, 38)
HSLhsl(342, 41%, 18%)
HSVhsv(342, 58%, 25%)
CMYKcmyk(0%, 57.8%, 40.6%, 74.9%)
CIE-LABlab(15.56, 19.41, 1.02)
CIE-LCHlch(15.56, 19.44, 3.02°)
OKLaboklab(27.97% 0.059 0.0029)
OKLCHoklch(27.97% 0.059 2.8)
XYZxyz(2.8563, 2.0141, 2.0717)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B26 #1B4035
analogous
#401B38 #401B26 #40221B
triadic
#401B26 #26401B #1B2640
tetradic
#401B26 #38401B #1B4035 #221B40
square
#401B26 #38401B #1B4035 #221B40
split-complementary
#401B26 #1B4022 #1B3840
monochromatic
#16090D #16090D #401B26 #6B2D40 #963F59

Accessibility & contrast

On white

14.97
#401B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#401B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B26
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B26#FFFFFF#000000##FFFFFF
##401B261.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212326
Deuteranopia (green-blind)
#2B2925
Tritanopia (blue-blind)
#45181F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401b26;
/* rgb */ color: rgb(64, 27, 38);
/* oklch */ color: oklch(28.0% 0.059 2.8);
Tailwind
colors: {
  custom: {
    50: '#775960',
    500: '#401b26',
    950: '#000000',
  },
}
SCSS
$custom: #401b26;
$custom-light: #775960;
$custom-dark: #000000;
JSON
{
  "hex": "#401b26",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 342.162,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27968,
    "c": 0.05907,
    "h": 2.8
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#401B26
secondary
#417566
accent
#D1AC57
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401B26

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

Preview Lab → · Contrast checker → · Palette generator →

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