#401B36#401B36

#401B36 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.070 H 338.6°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#401B36
RGBrgb(64, 27, 54)
HSLhsl(316, 41%, 18%)
HSVhsv(316, 58%, 25%)
CMYKcmyk(0%, 57.8%, 15.6%, 74.9%)
CIE-LABlab(16.21, 22.16, -9.46)
CIE-LCHlch(16.21, 24.09, 336.89°)
OKLaboklab(28.67% 0.065 -0.0254)
OKLCHoklch(28.67% 0.07 338.6)
XYZxyz(3.1722, 2.1404, 3.7354)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B36 #1B4025
analogous
#371B40 #401B36 #401B23
triadic
#401B36 #36401B #1B3640
tetradic
#401B36 #40371B #1B4025 #1B2340
square
#401B36 #40371B #1B4025 #1B2340
split-complementary
#401B36 #23401B #1B4037
monochromatic
#160912 #160912 #401B36 #6B2D5A #963F7F

Accessibility & contrast

On white

14.71
#401B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B36
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B36#FFFFFF#000000##FFFFFF
##401B361.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2537
Deuteranopia (green-blind)
#272A35
Tritanopia (blue-blind)
#431C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b36;
/* rgb */ color: rgb(64, 27, 54);
/* oklch */ color: oklch(28.7% 0.070 338.6);
Tailwind
colors: {
  custom: {
    50: '#76596d',
    500: '#401b36',
    950: '#000000',
  },
}
SCSS
$custom: #401b36;
$custom-light: #76596d;
$custom-dark: #000000;
JSON
{
  "hex": "#401b36",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 316.216,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28665,
    "c": 0.06975,
    "h": 338.6
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#401B36
secondary
#41754F
accent
#D17857
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080307
muted
#7B787A

Preview Lab

Preview with #401B36

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

Preview Lab → · Contrast checker → · Palette generator →

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