#401037#401037

#401037 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.1% C 0.091 H 336.1°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#401037
RGBrgb(64, 16, 55)
HSLhsl(311, 60%, 16%)
HSVhsv(311, 75%, 25%)
CMYKcmyk(0%, 75%, 14.1%, 74.9%)
CIE-LABlab(14.04, 28.34, -13.52)
CIE-LCHlch(14.04, 31.40, 334.50°)
OKLaboklab(27.09% 0.0829 -0.0368)
OKLCHoklch(27.09% 0.091 336.1)
XYZxyz(2.9893, 1.7367, 3.7915)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401037 #104019
analogous
#311040 #401037 #40101F
triadic
#401037 #374010 #103740
tetradic
#401037 #403110 #104019 #101F40
square
#401037 #403110 #104019 #101F40
split-complementary
#401037 #1F4010 #104031
monochromatic
#180615 #180615 #401037 #711C61 #A2288B

Accessibility & contrast

On white

15.59
#401037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401037
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401037#FFFFFF#000000##FFFFFF
##4010371.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111F38
Deuteranopia (green-blind)
#202636
Tritanopia (blue-blind)
#441321
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401037;
/* rgb */ color: rgb(64, 16, 55);
/* oklch */ color: oklch(27.1% 0.091 336.1);
Tailwind
colors: {
  custom: {
    50: '#77536e',
    500: '#401037',
    950: '#000000',
  },
}
SCSS
$custom: #401037;
$custom-light: #77536e;
$custom-dark: #000000;
JSON
{
  "hex": "#401037",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 311.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27086,
    "c": 0.0907,
    "h": 336.1
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#401037
secondary
#327A3F
accent
#E36245
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #401037

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

Preview Lab → · Contrast checker → · Palette generator →

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