#401D28#401D28

#401D28 is a dark, muted pink. Relative luminance 0.021; OKLCH L 28.4% C 0.056 H 1.3°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#401D28
RGBrgb(64, 29, 40)
HSLhsl(341, 38%, 18%)
HSVhsv(341, 55%, 25%)
CMYKcmyk(0%, 54.7%, 37.5%, 74.9%)
CIE-LABlab(16.12, 18.47, 0.39)
CIE-LCHlch(16.12, 18.47, 1.22°)
OKLaboklab(28.41% 0.0561 0.0013)
OKLCHoklch(28.41% 0.056 1.3)
XYZxyz(2.9368, 2.1222, 2.2620)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401D28 #1D4035
analogous
#401D39 #401D28 #40231D
triadic
#401D28 #28401D #1D2840
tetradic
#401D28 #39401D #1D4035 #231D40
square
#401D28 #39401D #1D4035 #231D40
split-complementary
#401D28 #1D4023 #1D3940
monochromatic
#150A0D #160A0E #401D28 #6A3042 #94435D

Accessibility & contrast

On white

14.74
#401D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401D28
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401D28#FFFFFF#000000##FFFFFF
##401D281.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222428
Deuteranopia (green-blind)
#2B2A27
Tritanopia (blue-blind)
#451A21
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401d28;
/* rgb */ color: rgb(64, 29, 40);
/* oklch */ color: oklch(28.4% 0.056 1.3);
Tailwind
colors: {
  custom: {
    50: '#765a61',
    500: '#401d28',
    950: '#000000',
  },
}
SCSS
$custom: #401d28;
$custom-light: #765a61;
$custom-dark: #000000;
JSON
{
  "hex": "#401d28",
  "rgb": {
    "r": 64,
    "g": 29,
    "b": 40
  },
  "hsl": {
    "h": 341.143,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28409,
    "c": 0.05606,
    "h": 1.3
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#401D28
secondary
#447565
accent
#CEA95A
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090405
muted
#7B7979

Preview Lab

Preview with #401D28

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

Preview Lab → · Contrast checker → · Palette generator →

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