#401D2E#401D2E

#401D2E is a dark, muted pink. Relative luminance 0.022; OKLCH L 28.6% C 0.059 H 351.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#401D2E
RGBrgb(64, 29, 46)
HSLhsl(331, 38%, 18%)
HSVhsv(331, 55%, 25%)
CMYKcmyk(0%, 54.7%, 28.1%, 74.9%)
CIE-LABlab(16.34, 19.45, -3.57)
CIE-LCHlch(16.34, 19.78, 349.59°)
OKLaboklab(28.65% 0.0586 -0.0092)
OKLCHoklch(28.65% 0.059 351)
XYZxyz(3.0469, 2.1662, 2.8419)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401D2E #1D402F
analogous
#401D3F #401D2E #401D1D
triadic
#401D2E #2E401D #1D2E40
tetradic
#401D2E #3F401D #1D402F #1D1D40
square
#401D2E #3F401D #1D402F #1D1D40
split-complementary
#401D2E #1D401D #1D3F40
monochromatic
#150A0F #160A10 #401D2E #6A304C #94436B

Accessibility & contrast

On white

14.65
#401D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#401D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401D2E
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401D2E#FFFFFF#000000##FFFFFF
##401D2E1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#2A2B2D
Tritanopia (blue-blind)
#441C23
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401d2e;
/* rgb */ color: rgb(64, 29, 46);
/* oklch */ color: oklch(28.6% 0.059 351.0);
Tailwind
colors: {
  custom: {
    50: '#765a66',
    500: '#401d2e',
    950: '#000000',
  },
}
SCSS
$custom: #401d2e;
$custom-light: #765a66;
$custom-dark: #000000;
JSON
{
  "hex": "#401d2e",
  "rgb": {
    "r": 64,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 330.857,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28648,
    "c": 0.05928,
    "h": 351
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#401D2E
secondary
#44755D
accent
#CE965A
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080406
muted
#7B797A

Preview Lab

Preview with #401D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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