#401426#401426

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

Color values

HEX#401426
RGBrgb(64, 20, 38)
HSLhsl(335, 52%, 16%)
HSVhsv(335, 69%, 25%)
CMYKcmyk(0%, 68.8%, 40.6%, 74.9%)
CIE-LABlab(14.00, 23.51, -1.25)
CIE-LCHlch(14.00, 23.54, 356.95°)
OKLaboklab(26.8% 0.0717 -0.003)
OKLCHoklch(26.8% 0.072 357.6)
XYZxyz(2.7145, 1.7305, 2.0244)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401426 #14402E
analogous
#40143C #401426 #401814
triadic
#401426 #264014 #142640
tetradic
#401426 #3C4014 #14402E #181440
square
#401426 #3C4014 #14402E #181440
split-complementary
#401426 #144018 #143C40
monochromatic
#17070E #17070E #401426 #6F2342 #9D315D

Accessibility & contrast

On white

15.60
#401426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401426 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401426
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401426#FFFFFF#000000##FFFFFF
##4014261.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1E27
Deuteranopia (green-blind)
#272725
Tritanopia (blue-blind)
#45101B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401426;
/* rgb */ color: rgb(64, 20, 38);
/* oklch */ color: oklch(26.8% 0.072 357.6);
Tailwind
colors: {
  custom: {
    50: '#775460',
    500: '#401426',
    950: '#000000',
  },
}
SCSS
$custom: #401426;
$custom-light: #775460;
$custom-dark: #000000;
JSON
{
  "hex": "#401426",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 38
  },
  "hsl": {
    "h": 335.455,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26803,
    "c": 0.07178,
    "h": 357.6
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#401426
secondary
#38785E
accent
#DCA14C
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401426

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

Preview Lab → · Contrast checker → · Palette generator →

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