#401B35#401B35

#401B35 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.6% C 0.069 H 339.9°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#401B35
RGBrgb(64, 27, 53)
HSLhsl(318, 41%, 18%)
HSVhsv(318, 58%, 25%)
CMYKcmyk(0%, 57.8%, 17.2%, 74.9%)
CIE-LABlab(16.16, 21.96, -8.82)
CIE-LCHlch(16.16, 23.67, 338.12°)
OKLaboklab(28.62% 0.0647 -0.0236)
OKLCHoklch(28.62% 0.069 339.9)
XYZxyz(3.1489, 2.1311, 3.6130)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B35 #1B4026
analogous
#381B40 #401B35 #401B22
triadic
#401B35 #35401B #1B3540
tetradic
#401B35 #40381B #1B4026 #1B2240
square
#401B35 #40381B #1B4026 #1B2240
split-complementary
#401B35 #22401B #1B4038
monochromatic
#160912 #160912 #401B35 #6B2D59 #963F7C

Accessibility & contrast

On white

14.72
#401B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B35
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B35#FFFFFF#000000##FFFFFF
##401B351.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2436
Deuteranopia (green-blind)
#272A34
Tritanopia (blue-blind)
#441C25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b35;
/* rgb */ color: rgb(64, 27, 53);
/* oklch */ color: oklch(28.6% 0.069 339.9);
Tailwind
colors: {
  custom: {
    50: '#76596c',
    500: '#401b35',
    950: '#000000',
  },
}
SCSS
$custom: #401b35;
$custom-light: #76596c;
$custom-dark: #000000;
JSON
{
  "hex": "#401b35",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 53
  },
  "hsl": {
    "h": 317.838,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28615,
    "c": 0.06884,
    "h": 339.9
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#401B35
secondary
#417551
accent
#D17B57
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080307
muted
#7B787A

Preview Lab

Preview with #401B35

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

Preview Lab → · Contrast checker → · Palette generator →

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