#401526#401526

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

Color values

HEX#401526
RGBrgb(64, 21, 38)
HSLhsl(336, 51%, 17%)
HSVhsv(336, 67%, 25%)
CMYKcmyk(0%, 67.2%, 40.6%, 74.9%)
CIE-LABlab(14.21, 22.95, -0.95)
CIE-LCHlch(14.21, 22.97, 357.63°)
OKLaboklab(26.96% 0.07 -0.0022)
OKLCHoklch(26.96% 0.07 358.2)
XYZxyz(2.7325, 1.7665, 2.0304)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401526 #15402F
analogous
#40153C #401526 #401A15
triadic
#401526 #264015 #152640
tetradic
#401526 #3C4015 #15402F #1A1540
square
#401526 #3C4015 #15402F #1A1540
split-complementary
#401526 #15401A #153C40
monochromatic
#17080E #17080E #401526 #6E2441 #9C335D

Accessibility & contrast

On white

15.52
#401526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401526
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401526#FFFFFF#000000##FFFFFF
##4015261.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F26
Deuteranopia (green-blind)
#282725
Tritanopia (blue-blind)
#45111C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401526;
/* rgb */ color: rgb(64, 21, 38);
/* oklch */ color: oklch(27.0% 0.070 358.2);
Tailwind
colors: {
  custom: {
    50: '#775560',
    500: '#401526',
    950: '#000000',
  },
}
SCSS
$custom: #401526;
$custom-light: #775560;
$custom-dark: #000000;
JSON
{
  "hex": "#401526",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 38
  },
  "hsl": {
    "h": 336.279,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26957,
    "c": 0.07002,
    "h": 358.2
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#401526
secondary
#39785F
accent
#DAA34E
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401526

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

Preview Lab → · Contrast checker → · Palette generator →

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