#401332#401332

#401332 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.2% C 0.081 H 341.8°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#401332
RGBrgb(64, 19, 50)
HSLhsl(319, 54%, 16%)
HSVhsv(319, 70%, 25%)
CMYKcmyk(0%, 70.3%, 21.9%, 74.9%)
CIE-LABlab(14.32, 25.95, -9.49)
CIE-LCHlch(14.32, 27.63, 339.91°)
OKLaboklab(27.21% 0.0774 -0.0254)
OKLCHoklch(27.21% 0.081 341.8)
XYZxyz(2.9230, 1.7863, 3.2078)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401332 #134021
analogous
#381340 #401332 #40131C
triadic
#401332 #324013 #133240
tetradic
#401332 #403813 #134021 #131C40
square
#401332 #403813 #134021 #131C40
split-complementary
#401332 #1C4013 #134038
monochromatic
#180712 #180712 #401332 #6F2157 #9E2F7C

Accessibility & contrast

On white

15.47
#401332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#401332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401332
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401332#FFFFFF#000000##FFFFFF
##4013321.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162033
Deuteranopia (green-blind)
#232731
Tritanopia (blue-blind)
#441320
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401332;
/* rgb */ color: rgb(64, 19, 50);
/* oklch */ color: oklch(27.2% 0.081 341.8);
Tailwind
colors: {
  custom: {
    50: '#77546a',
    500: '#401332',
    950: '#000000',
  },
}
SCSS
$custom: #401332;
$custom-light: #77546a;
$custom-dark: #000000;
JSON
{
  "hex": "#401332",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 318.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27208,
    "c": 0.08145,
    "h": 341.8
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#401332
secondary
#36794B
accent
#DE784A
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401332

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

Preview Lab → · Contrast checker → · Palette generator →

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