#401B27#401B27

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

Color values

HEX#401B27
RGBrgb(64, 27, 39)
HSLhsl(341, 41%, 18%)
HSVhsv(341, 58%, 25%)
CMYKcmyk(0%, 57.8%, 39.1%, 74.9%)
CIE-LABlab(15.60, 19.56, 0.35)
CIE-LCHlch(15.60, 19.56, 1.03°)
OKLaboklab(28.01% 0.0594 0.0012)
OKLCHoklch(28.01% 0.059 1.1)
XYZxyz(2.8726, 2.0206, 2.1578)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B27 #1B4034
analogous
#401B39 #401B27 #40221B
triadic
#401B27 #27401B #1B2740
tetradic
#401B27 #39401B #1B4034 #221B40
square
#401B27 #39401B #1B4034 #221B40
split-complementary
#401B27 #1B4022 #1B3940
monochromatic
#16090D #16090D #401B27 #6B2D41 #963F5B

Accessibility & contrast

On white

14.96
#401B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B27
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B27#FFFFFF#000000##FFFFFF
##401B271.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401b27;
/* rgb */ color: rgb(64, 27, 39);
/* oklch */ color: oklch(28.0% 0.059 1.1);
Tailwind
colors: {
  custom: {
    50: '#775960',
    500: '#401b27',
    950: '#000000',
  },
}
SCSS
$custom: #401b27;
$custom-light: #775960;
$custom-dark: #000000;
JSON
{
  "hex": "#401b27",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 340.541,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28005,
    "c": 0.05945,
    "h": 1.1
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#401B27
secondary
#417565
accent
#D1A957
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090305
muted
#7B7879

Preview Lab

Preview with #401B27

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

Preview Lab → · Contrast checker → · Palette generator →

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