#401029#401029

#401029 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.4% C 0.080 H 351.8°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#401029
RGBrgb(64, 16, 41)
HSLhsl(329, 60%, 16%)
HSVhsv(329, 75%, 25%)
CMYKcmyk(0%, 75%, 35.9%, 74.9%)
CIE-LABlab(13.36, 26.02, -4.41)
CIE-LCHlch(13.36, 26.39, 350.37°)
OKLaboklab(26.36% 0.0793 -0.0114)
OKLCHoklch(26.36% 0.08 351.8)
XYZxyz(2.7000, 1.6210, 2.2681)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401029 #104027
analogous
#3F1040 #401029 #401011
triadic
#401029 #294010 #102940
tetradic
#401029 #403F10 #104027 #101140
square
#401029 #403F10 #104027 #101140
split-complementary
#401029 #114010 #10403F
monochromatic
#180610 #180610 #401029 #711C48 #A22868

Accessibility & contrast

On white

15.86
#401029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401029
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401029#FFFFFF#000000##FFFFFF
##4010291.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171D2A
Deuteranopia (green-blind)
#252528
Tritanopia (blue-blind)
#450D1A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401029;
/* rgb */ color: rgb(64, 16, 41);
/* oklch */ color: oklch(26.4% 0.080 351.8);
Tailwind
colors: {
  custom: {
    50: '#775262',
    500: '#401029',
    950: '#000000',
  },
}
SCSS
$custom: #401029;
$custom-light: #775262;
$custom-dark: #000000;
JSON
{
  "hex": "#401029",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 41
  },
  "hsl": {
    "h": 328.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26362,
    "c": 0.08015,
    "h": 351.8
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#401029
secondary
#327A54
accent
#E39145
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #401029

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

Preview Lab → · Contrast checker → · Palette generator →

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