#401536#401536

#401536 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.7% C 0.081 H 337.6°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#401536
RGBrgb(64, 21, 54)
HSLhsl(314, 51%, 17%)
HSVhsv(314, 67%, 25%)
CMYKcmyk(0%, 67.2%, 15.6%, 74.9%)
CIE-LABlab(14.91, 25.61, -11.44)
CIE-LCHlch(14.91, 28.05, 335.92°)
OKLaboklab(27.71% 0.0752 -0.0309)
OKLCHoklch(27.71% 0.081 337.6)
XYZxyz(3.0484, 1.8929, 3.6941)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401536 #15401F
analogous
#351540 #401536 #401521
triadic
#401536 #364015 #153640
tetradic
#401536 #403515 #15401F #152140
square
#401536 #403515 #15401F #152140
split-complementary
#401536 #214015 #154035
monochromatic
#170813 #170813 #401536 #6E245D #9C3384

Accessibility & contrast

On white

15.23
#401536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#401536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401536
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401536#FFFFFF#000000##FFFFFF
##4015361.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162137
Deuteranopia (green-blind)
#232835
Tritanopia (blue-blind)
#441723
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401536;
/* rgb */ color: rgb(64, 21, 54);
/* oklch */ color: oklch(27.7% 0.081 337.6);
Tailwind
colors: {
  custom: {
    50: '#76556d',
    500: '#401536',
    950: '#000000',
  },
}
SCSS
$custom: #401536;
$custom-light: #76556d;
$custom-dark: #000000;
JSON
{
  "hex": "#401536",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 313.953,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27709,
    "c": 0.08128,
    "h": 337.6
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#401536
secondary
#397848
accent
#DA6E4E
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401536

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

Preview Lab → · Contrast checker → · Palette generator →

#401536 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva