#401C2E#401C2E

#401C2E is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.5% C 0.061 H 350.4°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#401C2E
RGBrgb(64, 28, 46)
HSLhsl(330, 39%, 18%)
HSVhsv(330, 56%, 25%)
CMYKcmyk(0%, 56.2%, 28.1%, 74.9%)
CIE-LABlab(16.09, 20.07, -3.93)
CIE-LCHlch(16.09, 20.46, 348.91°)
OKLaboklab(28.47% 0.0604 -0.0102)
OKLCHoklch(28.47% 0.061 350.4)
XYZxyz(3.0228, 2.1180, 2.8338)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401C2E #1C402E
analogous
#401C40 #401C2E #401C1C
triadic
#401C2E #2E401C #1C2E40
tetradic
#401C2E #40401C #1C402E #1C1C40
square
#401C2E #40401C #1C402E #1C1C40
split-complementary
#401C2E #1C401C #1C4040
monochromatic
#15090F #15090F #401C2E #6B2F4D #95416B

Accessibility & contrast

On white

14.75
#401C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401C2E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401C2E#FFFFFF#000000##FFFFFF
##401C2E1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242F
Deuteranopia (green-blind)
#292A2D
Tritanopia (blue-blind)
#441B23
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401c2e;
/* rgb */ color: rgb(64, 28, 46);
/* oklch */ color: oklch(28.5% 0.061 350.4);
Tailwind
colors: {
  custom: {
    50: '#765966',
    500: '#401c2e',
    950: '#000000',
  },
}
SCSS
$custom: #401c2e;
$custom-light: #765966;
$custom-dark: #000000;
JSON
{
  "hex": "#401c2e",
  "rgb": {
    "r": 64,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 330,
    "s": 39.13,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28466,
    "c": 0.06129,
    "h": 350.4
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#401C2E
secondary
#43755C
accent
#CF9459
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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