#401A2F#401A2F

#401A2F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.2% C 0.066 H 347.9°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#401A2F
RGBrgb(64, 26, 47)
HSLhsl(327, 42%, 18%)
HSVhsv(327, 59%, 25%)
CMYKcmyk(0%, 59.4%, 26.6%, 74.9%)
CIE-LABlab(15.67, 21.47, -5.29)
CIE-LCHlch(15.67, 22.11, 346.15°)
OKLaboklab(28.16% 0.0645 -0.0139)
OKLCHoklch(28.16% 0.066 347.9)
XYZxyz(2.9969, 2.0343, 2.9236)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401A2F #1A402B
analogous
#3E1A40 #401A2F #401A1C
triadic
#401A2F #2F401A #1A2F40
tetradic
#401A2F #403E1A #1A402B #1A1C40
square
#401A2F #403E1A #1A402B #1A1C40
split-complementary
#401A2F #1C401A #1A403E
monochromatic
#160910 #160910 #401A2F #6C2C4F #973D6F

Accessibility & contrast

On white

14.93
#401A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401A2F
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401A2F#FFFFFF#000000##FFFFFF
##401A2F1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2330
Deuteranopia (green-blind)
#28292E
Tritanopia (blue-blind)
#441922
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401a2f;
/* rgb */ color: rgb(64, 26, 47);
/* oklch */ color: oklch(28.2% 0.066 347.9);
Tailwind
colors: {
  custom: {
    50: '#765867',
    500: '#401a2f',
    950: '#000000',
  },
}
SCSS
$custom: #401a2f;
$custom-light: #765867;
$custom-dark: #000000;
JSON
{
  "hex": "#401a2f",
  "rgb": {
    "r": 64,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 326.842,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28159,
    "c": 0.06597,
    "h": 347.9
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#401A2F
secondary
#407658
accent
#D28D56
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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