#401026#401026

#401026 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.078 H 355.6°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#401026
RGBrgb(64, 16, 38)
HSLhsl(333, 60%, 16%)
HSVhsv(333, 75%, 25%)
CMYKcmyk(0%, 75%, 40.6%, 74.9%)
CIE-LABlab(13.23, 25.60, -2.39)
CIE-LCHlch(13.23, 25.71, 354.67°)
OKLaboklab(26.23% 0.0783 -0.006)
OKLCHoklch(26.23% 0.078 355.6)
XYZxyz(2.6497, 1.6008, 2.0028)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401026 #10402A
analogous
#40103E #401026 #401210
triadic
#401026 #264010 #102640
tetradic
#401026 #3E4010 #10402A #121040
square
#401026 #3E4010 #10402A #121040
split-complementary
#401026 #104012 #103E40
monochromatic
#18060F #18060F #401026 #711C43 #A22860

Accessibility & contrast

On white

15.91
#401026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#401026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401026
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401026#FFFFFF#000000##FFFFFF
##4010261.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181C27
Deuteranopia (green-blind)
#252525
Tritanopia (blue-blind)
#460C19
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401026;
/* rgb */ color: rgb(64, 16, 38);
/* oklch */ color: oklch(26.2% 0.078 355.6);
Tailwind
colors: {
  custom: {
    50: '#775260',
    500: '#401026',
    950: '#000000',
  },
}
SCSS
$custom: #401026;
$custom-light: #775260;
$custom-dark: #000000;
JSON
{
  "hex": "#401026",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 38
  },
  "hsl": {
    "h": 332.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26232,
    "c": 0.07849,
    "h": 355.6
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#401026
secondary
#327A59
accent
#E39B45
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401026

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

Preview Lab → · Contrast checker → · Palette generator →

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