#401736#401736

#401736 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.0% C 0.078 H 337.9°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#401736
RGBrgb(64, 23, 54)
HSLhsl(315, 47%, 17%)
HSVhsv(315, 64%, 25%)
CMYKcmyk(0%, 64.1%, 15.6%, 74.9%)
CIE-LABlab(15.33, 24.50, -10.81)
CIE-LCHlch(15.33, 26.78, 336.19°)
OKLaboklab(28.01% 0.0719 -0.0292)
OKLCHoklch(28.01% 0.078 337.9)
XYZxyz(3.0866, 1.9694, 3.7069)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401736 #174021
analogous
#361740 #401736 #401722
triadic
#401736 #364017 #173640
tetradic
#401736 #403617 #174021 #172240
square
#401736 #403617 #174021 #172240
split-complementary
#401736 #224017 #174036
monochromatic
#170813 #170813 #401736 #6D275C #9A3782

Accessibility & contrast

On white

15.07
#401736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#401736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401736
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401736#FFFFFF#000000##FFFFFF
##4017361.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182237
Deuteranopia (green-blind)
#242935
Tritanopia (blue-blind)
#441824
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401736;
/* rgb */ color: rgb(64, 23, 54);
/* oklch */ color: oklch(28.0% 0.078 337.9);
Tailwind
colors: {
  custom: {
    50: '#76566d',
    500: '#401736',
    950: '#000000',
  },
}
SCSS
$custom: #401736;
$custom-light: #76566d;
$custom-dark: #000000;
JSON
{
  "hex": "#401736",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 54
  },
  "hsl": {
    "h": 314.634,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28011,
    "c": 0.07757,
    "h": 337.9
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#401736
secondary
#3C774A
accent
#D77251
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401736

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

Preview Lab → · Contrast checker → · Palette generator →

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