#401529#401529

#401529 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.072 H 354.0°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#401529
RGBrgb(64, 21, 41)
HSLhsl(332, 51%, 17%)
HSVhsv(332, 67%, 25%)
CMYKcmyk(0%, 67.2%, 35.9%, 74.9%)
CIE-LABlab(14.33, 23.39, -2.97)
CIE-LCHlch(14.33, 23.58, 352.77°)
OKLaboklab(27.08% 0.0712 -0.0075)
OKLCHoklch(27.08% 0.072 354)
XYZxyz(2.7829, 1.7867, 2.2957)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401529 #15402C
analogous
#40153F #401529 #401715
triadic
#401529 #294015 #152940
tetradic
#401529 #3F4015 #15402C #171540
square
#401529 #3F4015 #15402C #171540
split-complementary
#401529 #154017 #153F40
monochromatic
#17080F #17080F #401529 #6E2447 #9C3364

Accessibility & contrast

On white

15.47
#401529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401529
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401529#FFFFFF#000000##FFFFFF
##4015291.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F2A
Deuteranopia (green-blind)
#272728
Tritanopia (blue-blind)
#45121D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401529;
/* rgb */ color: rgb(64, 21, 41);
/* oklch */ color: oklch(27.1% 0.072 354.0);
Tailwind
colors: {
  custom: {
    50: '#775562',
    500: '#401529',
    950: '#000000',
  },
}
SCSS
$custom: #401529;
$custom-light: #775562;
$custom-dark: #000000;
JSON
{
  "hex": "#401529",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 41
  },
  "hsl": {
    "h": 332.093,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27079,
    "c": 0.07157,
    "h": 354
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#401529
secondary
#39785B
accent
#DA994E
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #401529

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

Preview Lab → · Contrast checker → · Palette generator →

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