#401B38#401B38

#401B38 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 28.8% C 0.072 H 336.2°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#401B38
RGBrgb(64, 27, 56)
HSLhsl(313, 41%, 18%)
HSVhsv(313, 58%, 25%)
CMYKcmyk(0%, 57.8%, 12.5%, 74.9%)
CIE-LABlab(16.30, 22.55, -10.72)
CIE-LCHlch(16.30, 24.97, 334.57°)
OKLaboklab(28.77% 0.0655 -0.029)
OKLCHoklch(28.77% 0.072 336.2)
XYZxyz(3.2201, 2.1596, 3.9879)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B38 #1B4023
analogous
#351B40 #401B38 #401B25
triadic
#401B38 #38401B #1B3840
tetradic
#401B38 #40351B #1B4023 #1B2540
square
#401B38 #40351B #1B4023 #1B2540
split-complementary
#401B38 #25401B #1B4035
monochromatic
#160913 #160913 #401B38 #6B2D5E #963F83

Accessibility & contrast

On white

14.67
#401B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#401B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B38
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B38#FFFFFF#000000##FFFFFF
##401B381.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2539
Deuteranopia (green-blind)
#262A37
Tritanopia (blue-blind)
#431D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b38;
/* rgb */ color: rgb(64, 27, 56);
/* oklch */ color: oklch(28.8% 0.072 336.2);
Tailwind
colors: {
  custom: {
    50: '#76596e',
    500: '#401b38',
    950: '#000000',
  },
}
SCSS
$custom: #401b38;
$custom-light: #76596e;
$custom-dark: #000000;
JSON
{
  "hex": "#401b38",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 312.973,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28768,
    "c": 0.07163,
    "h": 336.2
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#401B38
secondary
#41754D
accent
#D17157
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #401B38

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

Preview Lab → · Contrast checker → · Palette generator →

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