#401326#401326

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

Color values

HEX#401326
RGBrgb(64, 19, 38)
HSLhsl(335, 54%, 16%)
HSVhsv(335, 70%, 25%)
CMYKcmyk(0%, 70.3%, 40.6%, 74.9%)
CIE-LABlab(13.80, 24.05, -1.55)
CIE-LCHlch(13.80, 24.10, 356.32°)
OKLaboklab(26.65% 0.0734 -0.0038)
OKLCHoklch(26.65% 0.074 357.1)
XYZxyz(2.6972, 1.6960, 2.0187)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401326 #13402D
analogous
#40133D #401326 #401713
triadic
#401326 #264013 #132640
tetradic
#401326 #3D4013 #13402D #171340
square
#401326 #3D4013 #13402D #171340
split-complementary
#401326 #134017 #133D40
monochromatic
#18070E #18070E #401326 #6F2142 #9E2F5E

Accessibility & contrast

On white

15.68
#401326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401326
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401326#FFFFFF#000000##FFFFFF
##4013261.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401326;
/* rgb */ color: rgb(64, 19, 38);
/* oklch */ color: oklch(26.7% 0.074 357.1);
Tailwind
colors: {
  custom: {
    50: '#775460',
    500: '#401326',
    950: '#000000',
  },
}
SCSS
$custom: #401326;
$custom-light: #775460;
$custom-dark: #000000;
JSON
{
  "hex": "#401326",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 38
  },
  "hsl": {
    "h": 334.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26653,
    "c": 0.07351,
    "h": 357.1
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#401326
secondary
#36795D
accent
#DE9F4A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401326

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

Preview Lab → · Contrast checker → · Palette generator →

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