#401324#401324

#401324 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.6% C 0.073 H 359.8°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#401324
RGBrgb(64, 19, 36)
HSLhsl(337, 54%, 16%)
HSVhsv(337, 70%, 25%)
CMYKcmyk(0%, 70.3%, 43.8%, 74.9%)
CIE-LABlab(13.73, 23.77, -0.19)
CIE-LCHlch(13.73, 23.77, 359.54°)
OKLaboklab(26.57% 0.0726 -0.0002)
OKLCHoklch(26.57% 0.073 359.8)
XYZxyz(2.6658, 1.6834, 1.8533)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401324 #13402F
analogous
#40133B #401324 #401913
triadic
#401324 #244013 #132440
tetradic
#401324 #3B4013 #13402F #191340
square
#401324 #3B4013 #13402F #191340
split-complementary
#401324 #134019 #133B40
monochromatic
#18070D #18070D #401324 #6F213F #9E2F59

Accessibility & contrast

On white

15.71
#401324 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401324
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401324#FFFFFF#000000##FFFFFF
##4013241.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1E24
Deuteranopia (green-blind)
#272623
Tritanopia (blue-blind)
#460F1A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401324;
/* rgb */ color: rgb(64, 19, 36);
/* oklch */ color: oklch(26.6% 0.073 359.8);
Tailwind
colors: {
  custom: {
    50: '#77535e',
    500: '#401324',
    950: '#000000',
  },
}
SCSS
$custom: #401324;
$custom-light: #77535e;
$custom-dark: #000000;
JSON
{
  "hex": "#401324",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 36
  },
  "hsl": {
    "h": 337.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26574,
    "c": 0.0726,
    "h": 359.8
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#401324
secondary
#367960
accent
#DEA64A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401324

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

Preview Lab → · Contrast checker → · Palette generator →

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