#401524#401524

#401524 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 26.9% C 0.069 H 1.1°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#401524
RGBrgb(64, 21, 36)
HSLhsl(339, 51%, 17%)
HSVhsv(339, 67%, 25%)
CMYKcmyk(0%, 67.2%, 43.8%, 74.9%)
CIE-LABlab(14.14, 22.67, 0.41)
CIE-LCHlch(14.14, 22.67, 1.04°)
OKLaboklab(26.88% 0.0692 0.0013)
OKLCHoklch(26.88% 0.069 1.1)
XYZxyz(2.7011, 1.7540, 1.8650)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401524 #154031
analogous
#40153A #401524 #401C15
triadic
#401524 #244015 #152440
tetradic
#401524 #3A4015 #154031 #1C1540
square
#401524 #3A4015 #154031 #1C1540
split-complementary
#401524 #15401C #153A40
monochromatic
#17080D #17080D #401524 #6E243E #9C3358

Accessibility & contrast

On white

15.55
#401524 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401524
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401524#FFFFFF#000000##FFFFFF
##4015241.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1F24
Deuteranopia (green-blind)
#282723
Tritanopia (blue-blind)
#46111B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401524;
/* rgb */ color: rgb(64, 21, 36);
/* oklch */ color: oklch(26.9% 0.069 1.1);
Tailwind
colors: {
  custom: {
    50: '#77555e',
    500: '#401524',
    950: '#000000',
  },
}
SCSS
$custom: #401524;
$custom-light: #77555e;
$custom-dark: #000000;
JSON
{
  "hex": "#401524",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 36
  },
  "hsl": {
    "h": 339.07,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2688,
    "c": 0.06916,
    "h": 1.1
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#401524
secondary
#397862
accent
#DAA94E
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401524

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

Preview Lab → · Contrast checker → · Palette generator →

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