#401628#401628

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

Color values

HEX#401628
RGBrgb(64, 22, 40)
HSLhsl(334, 49%, 17%)
HSVhsv(334, 66%, 25%)
CMYKcmyk(0%, 65.6%, 37.5%, 74.9%)
CIE-LABlab(14.50, 22.68, -1.98)
CIE-LCHlch(14.50, 22.77, 355.00°)
OKLaboklab(27.2% 0.069 -0.0049)
OKLCHoklch(27.2% 0.069 355.9)
XYZxyz(2.7844, 1.8173, 2.2112)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401628 #16402E
analogous
#40163D #401628 #401916
triadic
#401628 #284016 #162840
tetradic
#401628 #3D4016 #16402E #191640
square
#401628 #3D4016 #16402E #191640
split-complementary
#401628 #164019 #163D40
monochromatic
#17080E #17080E #401628 #6E2644 #9B3561

Accessibility & contrast

On white

15.40
#401628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401628
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401628#FFFFFF#000000##FFFFFF
##4016281.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2029
Deuteranopia (green-blind)
#282827
Tritanopia (blue-blind)
#45131D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401628;
/* rgb */ color: rgb(64, 22, 40);
/* oklch */ color: oklch(27.2% 0.069 355.9);
Tailwind
colors: {
  custom: {
    50: '#775561',
    500: '#401628',
    950: '#000000',
  },
}
SCSS
$custom: #401628;
$custom-light: #775561;
$custom-dark: #000000;
JSON
{
  "hex": "#401628",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 40
  },
  "hsl": {
    "h": 334.286,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27195,
    "c": 0.06922,
    "h": 355.9
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#401628
secondary
#3B775D
accent
#D89E4F
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090305
muted
#7B7879

Preview Lab

Preview with #401628

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

Preview Lab → · Contrast checker → · Palette generator →

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