#401729#401729

#401729 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.4% C 0.068 H 355.0°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#401729
RGBrgb(64, 23, 41)
HSLhsl(334, 47%, 17%)
HSVhsv(334, 64%, 25%)
CMYKcmyk(0%, 64.1%, 35.9%, 74.9%)
CIE-LABlab(14.75, 22.26, -2.33)
CIE-LCHlch(14.75, 22.38, 354.02°)
OKLaboklab(27.4% 0.0677 -0.0059)
OKLCHoklch(27.4% 0.068 355)
XYZxyz(2.8211, 1.8632, 2.3084)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401729 #17402E
analogous
#40173E #401729 #401A17
triadic
#401729 #294017 #172940
tetradic
#401729 #3E4017 #17402E #1A1740
square
#401729 #3E4017 #17402E #1A1740
split-complementary
#401729 #17401A #173E40
monochromatic
#17080E #17080E #401729 #6D2746 #9A3763

Accessibility & contrast

On white

15.30
#401729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401729
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401729#FFFFFF#000000##FFFFFF
##4017291.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D202A
Deuteranopia (green-blind)
#282828
Tritanopia (blue-blind)
#45141E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401729;
/* rgb */ color: rgb(64, 23, 41);
/* oklch */ color: oklch(27.4% 0.068 355.0);
Tailwind
colors: {
  custom: {
    50: '#775662',
    500: '#401729',
    950: '#000000',
  },
}
SCSS
$custom: #401729;
$custom-light: #775662;
$custom-dark: #000000;
JSON
{
  "hex": "#401729",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 41
  },
  "hsl": {
    "h": 333.659,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27397,
    "c": 0.06791,
    "h": 355
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#401729
secondary
#3C775D
accent
#D79C51
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #401729

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

Preview Lab → · Contrast checker → · Palette generator →

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