#401535#401535

#401535 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.7% C 0.080 H 338.7°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#401535
RGBrgb(64, 21, 53)
HSLhsl(315, 51%, 17%)
HSVhsv(315, 67%, 25%)
CMYKcmyk(0%, 67.2%, 17.2%, 74.9%)
CIE-LABlab(14.86, 25.42, -10.81)
CIE-LCHlch(14.86, 27.62, 336.97°)
OKLaboklab(27.66% 0.0749 -0.0291)
OKLCHoklch(27.66% 0.08 338.7)
XYZxyz(3.0252, 1.8836, 3.5717)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401535 #154020
analogous
#361540 #401535 #401520
triadic
#401535 #354015 #153540
tetradic
#401535 #403615 #154020 #152040
square
#401535 #403615 #154020 #152040
split-complementary
#401535 #204015 #154036
monochromatic
#170813 #170813 #401535 #6E245B #9C3381

Accessibility & contrast

On white

15.25
#401535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#401535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401535
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401535#FFFFFF#000000##FFFFFF
##4015351.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172136
Deuteranopia (green-blind)
#232834
Tritanopia (blue-blind)
#441622
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401535;
/* rgb */ color: rgb(64, 21, 53);
/* oklch */ color: oklch(27.7% 0.080 338.7);
Tailwind
colors: {
  custom: {
    50: '#77556c',
    500: '#401535',
    950: '#000000',
  },
}
SCSS
$custom: #401535;
$custom-light: #77556c;
$custom-dark: #000000;
JSON
{
  "hex": "#401535",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 315.349,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27655,
    "c": 0.08039,
    "h": 338.7
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#401535
secondary
#397849
accent
#DA724E
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401535

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

Preview Lab → · Contrast checker → · Palette generator →

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