#401A2E#401A2E

#401A2E is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.1% C 0.065 H 349.3°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#401A2E
RGBrgb(64, 26, 46)
HSLhsl(328, 42%, 18%)
HSVhsv(328, 59%, 25%)
CMYKcmyk(0%, 59.4%, 28.1%, 74.9%)
CIE-LABlab(15.62, 21.30, -4.64)
CIE-LCHlch(15.62, 21.80, 347.71°)
OKLaboklab(28.11% 0.0641 -0.0121)
OKLCHoklch(28.11% 0.065 349.3)
XYZxyz(2.9770, 2.0263, 2.8186)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401A2E #1A402C
analogous
#3F1A40 #401A2E #401A1B
triadic
#401A2E #2E401A #1A2E40
tetradic
#401A2E #403F1A #1A402C #1A1B40
square
#401A2E #403F1A #1A402C #1A1B40
split-complementary
#401A2E #1B401A #1A403F
monochromatic
#160910 #160910 #401A2E #6C2C4D #973D6D

Accessibility & contrast

On white

14.94
#401A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#401A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401A2E
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401A2E#FFFFFF#000000##FFFFFF
##401A2E1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#28292D
Tritanopia (blue-blind)
#451922
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401a2e;
/* rgb */ color: rgb(64, 26, 46);
/* oklch */ color: oklch(28.1% 0.065 349.3);
Tailwind
colors: {
  custom: {
    50: '#765866',
    500: '#401a2e',
    950: '#000000',
  },
}
SCSS
$custom: #401a2e;
$custom-light: #765866;
$custom-dark: #000000;
JSON
{
  "hex": "#401a2e",
  "rgb": {
    "r": 64,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 328.421,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28114,
    "c": 0.06526,
    "h": 349.3
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#401A2E
secondary
#407659
accent
#D29156
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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