#401434#401434

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

Color values

HEX#401434
RGBrgb(64, 20, 52)
HSLhsl(316, 52%, 16%)
HSVhsv(316, 69%, 25%)
CMYKcmyk(0%, 68.8%, 18.8%, 74.9%)
CIE-LABlab(14.62, 25.78, -10.48)
CIE-LCHlch(14.62, 27.82, 337.88°)
OKLaboklab(27.46% 0.0763 -0.0282)
OKLCHoklch(27.46% 0.081 339.7)
XYZxyz(2.9844, 1.8385, 3.4458)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401434 #144020
analogous
#361440 #401434 #40141E
triadic
#401434 #344014 #143440
tetradic
#401434 #403614 #144020 #141E40
square
#401434 #403614 #144020 #141E40
split-complementary
#401434 #1E4014 #144036
monochromatic
#170713 #170713 #401434 #6F235A #9D3180

Accessibility & contrast

On white

15.36
#401434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#401434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401434
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401434#FFFFFF#000000##FFFFFF
##4014341.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162035
Deuteranopia (green-blind)
#232733
Tritanopia (blue-blind)
#441521
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401434;
/* rgb */ color: rgb(64, 20, 52);
/* oklch */ color: oklch(27.5% 0.081 339.7);
Tailwind
colors: {
  custom: {
    50: '#77556b',
    500: '#401434',
    950: '#000000',
  },
}
SCSS
$custom: #401434;
$custom-light: #77556b;
$custom-dark: #000000;
JSON
{
  "hex": "#401434",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 52
  },
  "hsl": {
    "h": 316.364,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27456,
    "c": 0.08133,
    "h": 339.7
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#401434
secondary
#387849
accent
#DC734C
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401434

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

Preview Lab → · Contrast checker → · Palette generator →

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