#401A2D#401A2D

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

Color values

HEX#401A2D
RGBrgb(64, 26, 45)
HSLhsl(330, 42%, 18%)
HSVhsv(330, 59%, 25%)
CMYKcmyk(0%, 59.4%, 29.7%, 74.9%)
CIE-LABlab(15.58, 21.13, -3.98)
CIE-LCHlch(15.58, 21.50, 349.33°)
OKLaboklab(28.07% 0.0638 -0.0103)
OKLCHoklch(28.07% 0.065 350.8)
XYZxyz(2.9575, 2.0185, 2.7160)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401A2D #1A402D
analogous
#401A40 #401A2D #401A1A
triadic
#401A2D #2D401A #1A2D40
tetradic
#401A2D #40401A #1A402D #1A1A40
square
#401A2D #40401A #1A402D #1A1A40
split-complementary
#401A2D #1A401A #1A4040
monochromatic
#16090F #16090F #401A2D #6C2C4C #973D6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##401A2D#FFFFFF#000000##FFFFFF
##401A2D1.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)
#1E232E
Deuteranopia (green-blind)
#29292C
Tritanopia (blue-blind)
#451921
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401a2d;
/* rgb */ color: rgb(64, 26, 45);
/* oklch */ color: oklch(28.1% 0.065 350.8);
Tailwind
colors: {
  custom: {
    50: '#765865',
    500: '#401a2d',
    950: '#000000',
  },
}
SCSS
$custom: #401a2d;
$custom-light: #765865;
$custom-dark: #000000;
JSON
{
  "hex": "#401a2d",
  "rgb": {
    "r": 64,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 330,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28071,
    "c": 0.06459,
    "h": 350.8
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#401A2D
secondary
#40765B
accent
#D29456
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #401A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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