#401E2B#401E2B

#401E2B is a dark, muted pink. Relative luminance 0.022; OKLCH L 28.7% C 0.056 H 356.9°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#401E2B
RGBrgb(64, 30, 43)
HSLhsl(337, 36%, 18%)
HSVhsv(337, 53%, 25%)
CMYKcmyk(0%, 53.1%, 32.8%, 74.9%)
CIE-LABlab(16.47, 18.32, -1.24)
CIE-LCHlch(16.47, 18.36, 356.14°)
OKLaboklab(28.71% 0.0554 -0.003)
OKLCHoklch(28.71% 0.056 356.9)
XYZxyz(3.0148, 2.1932, 2.5496)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401E2B #1E4033
analogous
#401E3C #401E2B #40221E
triadic
#401E2B #2B401E #1E2B40
tetradic
#401E2B #3C401E #1E4033 #221E40
square
#401E2B #3C401E #1E4033 #221E40
split-complementary
#401E2B #1E4022 #1E3C40
monochromatic
#150A0E #160A0F #401E2B #6A3247 #934563

Accessibility & contrast

On white

14.60
#401E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#401E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401E2B
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401E2B#FFFFFF#000000##FFFFFF
##401E2B1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252B
Deuteranopia (green-blind)
#2B2B2A
Tritanopia (blue-blind)
#451C23
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #401e2b;
/* rgb */ color: rgb(64, 30, 43);
/* oklch */ color: oklch(28.7% 0.056 356.9);
Tailwind
colors: {
  custom: {
    50: '#765b64',
    500: '#401e2b',
    950: '#000000',
  },
}
SCSS
$custom: #401e2b;
$custom-light: #765b64;
$custom-dark: #000000;
JSON
{
  "hex": "#401e2b",
  "rgb": {
    "r": 64,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 337.059,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28711,
    "c": 0.0555,
    "h": 356.9
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#401E2B
secondary
#457462
accent
#CCA15C
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090405
muted
#7B7979

Preview Lab

Preview with #401E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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