#401436#401436

#401436 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.6% C 0.083 H 337.5°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#401436
RGBrgb(64, 20, 54)
HSLhsl(314, 52%, 16%)
HSVhsv(314, 69%, 25%)
CMYKcmyk(0%, 68.8%, 15.6%, 74.9%)
CIE-LABlab(14.72, 26.14, -11.75)
CIE-LCHlch(14.72, 28.66, 335.80°)
OKLaboklab(27.56% 0.0768 -0.0318)
OKLCHoklch(27.56% 0.083 337.5)
XYZxyz(3.0304, 1.8569, 3.6881)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401436 #14401E
analogous
#341440 #401436 #401420
triadic
#401436 #364014 #143640
tetradic
#401436 #403414 #14401E #142040
square
#401436 #403414 #14401E #142040
split-complementary
#401436 #204014 #144034
monochromatic
#170714 #170714 #401436 #6F235D #9D3185

Accessibility & contrast

On white

15.31
#401436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#401436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401436
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401436#FFFFFF#000000##FFFFFF
##4014361.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401436;
/* rgb */ color: rgb(64, 20, 54);
/* oklch */ color: oklch(27.6% 0.083 337.5);
Tailwind
colors: {
  custom: {
    50: '#77556d',
    500: '#401436',
    950: '#000000',
  },
}
SCSS
$custom: #401436;
$custom-light: #77556d;
$custom-dark: #000000;
JSON
{
  "hex": "#401436",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 54
  },
  "hsl": {
    "h": 313.636,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27564,
    "c": 0.08307,
    "h": 337.5
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#401436
secondary
#387846
accent
#DC6D4C
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401436

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

Preview Lab → · Contrast checker → · Palette generator →

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