#401327#401327

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

Color values

HEX#401327
RGBrgb(64, 19, 39)
HSLhsl(333, 54%, 16%)
HSVhsv(333, 70%, 25%)
CMYKcmyk(0%, 70.3%, 39.1%, 74.9%)
CIE-LABlab(13.84, 24.19, -2.23)
CIE-LCHlch(13.84, 24.29, 354.74°)
OKLaboklab(26.69% 0.0738 -0.0055)
OKLCHoklch(26.69% 0.074 355.7)
XYZxyz(2.7136, 1.7025, 2.1048)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401327 #13402C
analogous
#40133E #401327 #401613
triadic
#401327 #274013 #132740
tetradic
#401327 #3E4013 #13402C #161340
square
#401327 #3E4013 #13402C #161340
split-complementary
#401327 #134016 #133E40
monochromatic
#18070E #18070E #401327 #6F2144 #9E2F61

Accessibility & contrast

On white

15.67
#401327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401327
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401327#FFFFFF#000000##FFFFFF
##4013271.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401327;
/* rgb */ color: rgb(64, 19, 39);
/* oklch */ color: oklch(26.7% 0.074 355.7);
Tailwind
colors: {
  custom: {
    50: '#775461',
    500: '#401327',
    950: '#000000',
  },
}
SCSS
$custom: #401327;
$custom-light: #775461;
$custom-dark: #000000;
JSON
{
  "hex": "#401327",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 39
  },
  "hsl": {
    "h": 333.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26694,
    "c": 0.07401,
    "h": 355.7
  },
  "luminance": 0.01702
}

Semantic roles & 50–950 ramp

primary
#401327
secondary
#36795B
accent
#DE9C4A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090305
muted
#7B7879

Preview Lab

Preview with #401327

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

Preview Lab → · Contrast checker → · Palette generator →

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