#401032#401032

#401032 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.087 H 341.3°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#401032
RGBrgb(64, 16, 50)
HSLhsl(318, 60%, 16%)
HSVhsv(318, 75%, 25%)
CMYKcmyk(0%, 75%, 21.9%, 74.9%)
CIE-LABlab(13.77, 27.46, -10.33)
CIE-LCHlch(13.77, 29.34, 339.38°)
OKLaboklab(26.81% 0.0819 -0.0277)
OKLCHoklch(26.81% 0.087 341.3)
XYZxyz(2.8754, 1.6911, 3.1920)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401032 #10401E
analogous
#361040 #401032 #40101A
triadic
#401032 #324010 #103240
tetradic
#401032 #403610 #10401E #101A40
square
#401032 #403610 #10401E #101A40
split-complementary
#401032 #1A4010 #104036
monochromatic
#180613 #180613 #401032 #711C58 #A2287E

Accessibility & contrast

On white

15.69
#401032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401032
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401032#FFFFFF#000000##FFFFFF
##4010321.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E33
Deuteranopia (green-blind)
#222631
Tritanopia (blue-blind)
#44111F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401032;
/* rgb */ color: rgb(64, 16, 50);
/* oklch */ color: oklch(26.8% 0.087 341.3);
Tailwind
colors: {
  custom: {
    50: '#77526a',
    500: '#401032',
    950: '#000000',
  },
}
SCSS
$custom: #401032;
$custom-light: #77526a;
$custom-dark: #000000;
JSON
{
  "hex": "#401032",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 317.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26806,
    "c": 0.08651,
    "h": 341.3
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#401032
secondary
#327A47
accent
#E37345
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #401032

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

Preview Lab → · Contrast checker → · Palette generator →

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