#401437#401437

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

Color values

HEX#401437
RGBrgb(64, 20, 55)
HSLhsl(312, 52%, 16%)
HSVhsv(312, 69%, 25%)
CMYKcmyk(0%, 68.8%, 14.1%, 74.9%)
CIE-LABlab(14.77, 26.33, -12.38)
CIE-LCHlch(14.77, 29.10, 334.81°)
OKLaboklab(27.62% 0.077 -0.0336)
OKLCHoklch(27.62% 0.084 336.4)
XYZxyz(3.0541, 1.8664, 3.8131)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401437 #14401D
analogous
#331440 #401437 #401421
triadic
#401437 #374014 #143740
tetradic
#401437 #403314 #14401D #142140
square
#401437 #403314 #14401D #142140
split-complementary
#401437 #214014 #144033
monochromatic
#170714 #170714 #401437 #6F235F #9D3187

Accessibility & contrast

On white

15.29
#401437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401437
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401437#FFFFFF#000000##FFFFFF
##4014371.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152138
Deuteranopia (green-blind)
#222836
Tritanopia (blue-blind)
#441623
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401437;
/* rgb */ color: rgb(64, 20, 55);
/* oklch */ color: oklch(27.6% 0.084 336.4);
Tailwind
colors: {
  custom: {
    50: '#77556e',
    500: '#401437',
    950: '#000000',
  },
}
SCSS
$custom: #401437;
$custom-light: #77556e;
$custom-dark: #000000;
JSON
{
  "hex": "#401437",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 55
  },
  "hsl": {
    "h": 312.273,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27619,
    "c": 0.08397,
    "h": 336.4
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#401437
secondary
#387845
accent
#DC694C
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401437

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

Preview Lab → · Contrast checker → · Palette generator →

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