#401D2D#401D2D

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

Color values

HEX#401D2D
RGBrgb(64, 29, 45)
HSLhsl(333, 38%, 18%)
HSVhsv(333, 55%, 25%)
CMYKcmyk(0%, 54.7%, 29.7%, 74.9%)
CIE-LABlab(16.30, 19.28, -2.92)
CIE-LCHlch(16.30, 19.50, 351.39°)
OKLaboklab(28.61% 0.0582 -0.0075)
OKLCHoklch(28.61% 0.059 352.7)
XYZxyz(3.0275, 2.1584, 2.7393)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401D2D #1D4030
analogous
#401D3E #401D2D #401E1D
triadic
#401D2D #2D401D #1D2D40
tetradic
#401D2D #3E401D #1D4030 #1E1D40
square
#401D2D #3E401D #1D4030 #1E1D40
split-complementary
#401D2D #1D401E #1D3E40
monochromatic
#150A0F #160A0F #401D2D #6A304B #944368

Accessibility & contrast

On white

14.67
#401D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401D2D
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401D2D#FFFFFF#000000##FFFFFF
##401D2D1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252E
Deuteranopia (green-blind)
#2A2B2C
Tritanopia (blue-blind)
#451C23
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401d2d;
/* rgb */ color: rgb(64, 29, 45);
/* oklch */ color: oklch(28.6% 0.059 352.7);
Tailwind
colors: {
  custom: {
    50: '#765a65',
    500: '#401d2d',
    950: '#000000',
  },
}
SCSS
$custom: #401d2d;
$custom-light: #765a65;
$custom-dark: #000000;
JSON
{
  "hex": "#401d2d",
  "rgb": {
    "r": 64,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 332.571,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28606,
    "c": 0.05863,
    "h": 352.7
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#401D2D
secondary
#44755E
accent
#CE995A
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090405
muted
#7B797A

Preview Lab

Preview with #401D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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