#401B31#401B31

#401B31 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.4% C 0.065 H 345.4°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#401B31
RGBrgb(64, 27, 49)
HSLhsl(324, 41%, 18%)
HSVhsv(324, 58%, 25%)
CMYKcmyk(0%, 57.8%, 23.4%, 74.9%)
CIE-LABlab(15.98, 21.22, -6.24)
CIE-LCHlch(15.98, 22.12, 343.60°)
OKLaboklab(28.42% 0.0634 -0.0165)
OKLCHoklch(28.42% 0.065 345.4)
XYZxyz(3.0607, 2.0959, 3.1485)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B31 #1B402A
analogous
#3C1B40 #401B31 #401B1F
triadic
#401B31 #31401B #1B3140
tetradic
#401B31 #403C1B #1B402A #1B1F40
square
#401B31 #403C1B #1B402A #1B1F40
split-complementary
#401B31 #1F401B #1B403C
monochromatic
#160910 #160910 #401B31 #6B2D52 #963F73

Accessibility & contrast

On white

14.80
#401B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B31
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B31#FFFFFF#000000##FFFFFF
##401B311.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2432
Deuteranopia (green-blind)
#282A30
Tritanopia (blue-blind)
#441B23
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b31;
/* rgb */ color: rgb(64, 27, 49);
/* oklch */ color: oklch(28.4% 0.065 345.4);
Tailwind
colors: {
  custom: {
    50: '#765969',
    500: '#401b31',
    950: '#000000',
  },
}
SCSS
$custom: #401b31;
$custom-light: #765969;
$custom-dark: #000000;
JSON
{
  "hex": "#401b31",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 324.324,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28423,
    "c": 0.06548,
    "h": 345.4
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#401B31
secondary
#417556
accent
#D18857
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401B31

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

Preview Lab → · Contrast checker → · Palette generator →

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