#401334#401334

#401334 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.3% C 0.083 H 339.6°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#401334
RGBrgb(64, 19, 52)
HSLhsl(316, 54%, 16%)
HSVhsv(316, 70%, 25%)
CMYKcmyk(0%, 70.3%, 18.8%, 74.9%)
CIE-LABlab(14.42, 26.30, -10.77)
CIE-LCHlch(14.42, 28.42, 337.73°)
OKLaboklab(27.31% 0.0779 -0.029)
OKLCHoklch(27.31% 0.083 339.6)
XYZxyz(2.9671, 1.8039, 3.4401)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401334 #13401F
analogous
#361340 #401334 #40131E
triadic
#401334 #344013 #133440
tetradic
#401334 #403613 #13401F #131E40
square
#401334 #403613 #13401F #131E40
split-complementary
#401334 #1E4013 #134036
monochromatic
#180713 #180713 #401334 #6F215A #9E2F81

Accessibility & contrast

On white

15.43
#401334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#401334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401334
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401334#FFFFFF#000000##FFFFFF
##4013341.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152035
Deuteranopia (green-blind)
#232733
Tritanopia (blue-blind)
#441421
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401334;
/* rgb */ color: rgb(64, 19, 52);
/* oklch */ color: oklch(27.3% 0.083 339.6);
Tailwind
colors: {
  custom: {
    50: '#77546b',
    500: '#401334',
    950: '#000000',
  },
}
SCSS
$custom: #401334;
$custom-light: #77546b;
$custom-dark: #000000;
JSON
{
  "hex": "#401334",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 316,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27314,
    "c": 0.0831,
    "h": 339.6
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#401334
secondary
#367948
accent
#DE724A
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401334

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

Preview Lab → · Contrast checker → · Palette generator →

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