#401B37#401B37

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

Color values

HEX#401B37
RGBrgb(64, 27, 55)
HSLhsl(315, 41%, 18%)
HSVhsv(315, 58%, 25%)
CMYKcmyk(0%, 57.8%, 14.1%, 74.9%)
CIE-LABlab(16.25, 22.35, -10.09)
CIE-LCHlch(16.25, 24.52, 335.70°)
OKLaboklab(28.72% 0.0653 -0.0272)
OKLCHoklch(28.72% 0.071 337.4)
XYZxyz(3.1959, 2.1499, 3.8603)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B37 #1B4024
analogous
#361B40 #401B37 #401B24
triadic
#401B37 #37401B #1B3740
tetradic
#401B37 #40361B #1B4024 #1B2440
square
#401B37 #40361B #1B4024 #1B2440
split-complementary
#401B37 #24401B #1B4036
monochromatic
#160912 #160912 #401B37 #6B2D5C #963F81

Accessibility & contrast

On white

14.69
#401B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B37
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B37#FFFFFF#000000##FFFFFF
##401B371.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2538
Deuteranopia (green-blind)
#262A36
Tritanopia (blue-blind)
#431C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b37;
/* rgb */ color: rgb(64, 27, 55);
/* oklch */ color: oklch(28.7% 0.071 337.4);
Tailwind
colors: {
  custom: {
    50: '#76596d',
    500: '#401b37',
    950: '#000000',
  },
}
SCSS
$custom: #401b37;
$custom-light: #76596d;
$custom-dark: #000000;
JSON
{
  "hex": "#401b37",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 55
  },
  "hsl": {
    "h": 314.595,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28716,
    "c": 0.07068,
    "h": 337.4
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#401B37
secondary
#41754E
accent
#D17557
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080307
muted
#7B787A

Preview Lab

Preview with #401B37

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

Preview Lab → · Contrast checker → · Palette generator →

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