#401528#401528

#401528 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.0% C 0.071 H 355.3°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#401528
RGBrgb(64, 21, 40)
HSLhsl(333, 51%, 17%)
HSVhsv(333, 67%, 25%)
CMYKcmyk(0%, 67.2%, 37.5%, 74.9%)
CIE-LABlab(14.29, 23.24, -2.30)
CIE-LCHlch(14.29, 23.36, 354.36°)
OKLaboklab(27.04% 0.0708 -0.0058)
OKLCHoklch(27.04% 0.071 355.3)
XYZxyz(2.7657, 1.7798, 2.2050)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401528 #15402D
analogous
#40153E #401528 #401815
triadic
#401528 #284015 #152840
tetradic
#401528 #3E4015 #15402D #181540
square
#401528 #3E4015 #15402D #181540
split-complementary
#401528 #154018 #153E40
monochromatic
#17080E #17080E #401528 #6E2445 #9C3362

Accessibility & contrast

On white

15.49
#401528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401528
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401528#FFFFFF#000000##FFFFFF
##4015281.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F29
Deuteranopia (green-blind)
#272727
Tritanopia (blue-blind)
#45121C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401528;
/* rgb */ color: rgb(64, 21, 40);
/* oklch */ color: oklch(27.0% 0.071 355.3);
Tailwind
colors: {
  custom: {
    50: '#775561',
    500: '#401528',
    950: '#000000',
  },
}
SCSS
$custom: #401528;
$custom-light: #775561;
$custom-dark: #000000;
JSON
{
  "hex": "#401528",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 333.488,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27038,
    "c": 0.07102,
    "h": 355.3
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#401528
secondary
#39785C
accent
#DA9C4E
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090305
muted
#7B7879

Preview Lab

Preview with #401528

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

Preview Lab → · Contrast checker → · Palette generator →

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