#401E27#401E27

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

Color values

HEX#401E27
RGBrgb(64, 30, 39)
HSLhsl(344, 36%, 18%)
HSVhsv(344, 53%, 25%)
CMYKcmyk(0%, 53.1%, 39.1%, 74.9%)
CIE-LABlab(16.33, 17.68, 1.42)
CIE-LCHlch(16.33, 17.74, 4.59°)
OKLaboklab(28.56% 0.0537 0.0039)
OKLCHoklch(28.56% 0.054 4.2)
XYZxyz(2.9450, 2.1653, 2.1819)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401E27 #1E4037
analogous
#401E38 #401E27 #40261E
triadic
#401E27 #27401E #1E2740
tetradic
#401E27 #38401E #1E4037 #261E40
square
#401E27 #38401E #1E4037 #261E40
split-complementary
#401E27 #1E4026 #1E3840
monochromatic
#150A0D #160A0E #401E27 #6A3240 #93455A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##401E27#FFFFFF#000000##FFFFFF
##401E271.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)
#242527
Deuteranopia (green-blind)
#2C2B26
Tritanopia (blue-blind)
#451B21
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401e27;
/* rgb */ color: rgb(64, 30, 39);
/* oklch */ color: oklch(28.6% 0.054 4.2);
Tailwind
colors: {
  custom: {
    50: '#765b60',
    500: '#401e27',
    950: '#000000',
  },
}
SCSS
$custom: #401e27;
$custom-light: #765b60;
$custom-dark: #000000;
JSON
{
  "hex": "#401e27",
  "rgb": {
    "r": 64,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 344.118,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28561,
    "c": 0.05381,
    "h": 4.2
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#401E27
secondary
#457468
accent
#CCAE5C
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090405
muted
#7B7979

Preview Lab

Preview with #401E27

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

Preview Lab → · Contrast checker → · Palette generator →

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