#401036#401036

#401036 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.0% C 0.090 H 337.1°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#401036
RGBrgb(64, 16, 54)
HSLhsl(313, 60%, 16%)
HSVhsv(313, 75%, 25%)
CMYKcmyk(0%, 75%, 15.6%, 74.9%)
CIE-LABlab(13.99, 28.16, -12.89)
CIE-LCHlch(13.99, 30.97, 335.41°)
OKLaboklab(27.03% 0.0828 -0.035)
OKLCHoklch(27.03% 0.09 337.1)
XYZxyz(2.9655, 1.7272, 3.6665)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401036 #10401A
analogous
#321040 #401036 #40101E
triadic
#401036 #364010 #103640
tetradic
#401036 #403210 #10401A #101E40
square
#401036 #403210 #10401A #101E40
split-complementary
#401036 #1E4010 #104032
monochromatic
#180615 #180615 #401036 #711C5F #A22889

Accessibility & contrast

On white

15.61
#401036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401036
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401036#FFFFFF#000000##FFFFFF
##4010361.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111F37
Deuteranopia (green-blind)
#212635
Tritanopia (blue-blind)
#441221
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401036;
/* rgb */ color: rgb(64, 16, 54);
/* oklch */ color: oklch(27.0% 0.090 337.1);
Tailwind
colors: {
  custom: {
    50: '#77536d',
    500: '#401036',
    950: '#000000',
  },
}
SCSS
$custom: #401036;
$custom-light: #77536d;
$custom-dark: #000000;
JSON
{
  "hex": "#401036",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 312.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27028,
    "c": 0.08983,
    "h": 337.1
  },
  "luminance": 0.01727
}

Semantic roles & 50–950 ramp

primary
#401036
secondary
#327A41
accent
#E36645
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #401036

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

Preview Lab → · Contrast checker → · Palette generator →

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