#401328#401328

#401328 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.7% C 0.075 H 354.3°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#401328
RGBrgb(64, 19, 40)
HSLhsl(332, 54%, 16%)
HSVhsv(332, 70%, 25%)
CMYKcmyk(0%, 70.3%, 37.5%, 74.9%)
CIE-LABlab(13.88, 24.34, -2.90)
CIE-LCHlch(13.88, 24.51, 353.21°)
OKLaboklab(26.74% 0.0742 -0.0073)
OKLCHoklch(26.74% 0.075 354.3)
XYZxyz(2.7304, 1.7092, 2.1932)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401328 #13402B
analogous
#40133F #401328 #401513
triadic
#401328 #284013 #132840
tetradic
#401328 #3F4013 #13402B #151340
square
#401328 #3F4013 #13402B #151340
split-complementary
#401328 #134015 #133F40
monochromatic
#18070F #18070F #401328 #6F2145 #9E2F63

Accessibility & contrast

On white

15.65
#401328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401328
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401328#FFFFFF#000000##FFFFFF
##4013281.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E29
Deuteranopia (green-blind)
#262627
Tritanopia (blue-blind)
#45101B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401328;
/* rgb */ color: rgb(64, 19, 40);
/* oklch */ color: oklch(26.7% 0.075 354.3);
Tailwind
colors: {
  custom: {
    50: '#775461',
    500: '#401328',
    950: '#000000',
  },
}
SCSS
$custom: #401328;
$custom-light: #775461;
$custom-dark: #000000;
JSON
{
  "hex": "#401328",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 332,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26736,
    "c": 0.07454,
    "h": 354.3
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#401328
secondary
#36795A
accent
#DE994A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090305
muted
#7B7879

Preview Lab

Preview with #401328

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

Preview Lab → · Contrast checker → · Palette generator →

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