#401028#401028

#401028 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.080 H 353.1°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#401028
RGBrgb(64, 16, 40)
HSLhsl(330, 60%, 16%)
HSVhsv(330, 75%, 25%)
CMYKcmyk(0%, 75%, 37.5%, 74.9%)
CIE-LABlab(13.32, 25.88, -3.74)
CIE-LCHlch(13.32, 26.14, 351.77°)
OKLaboklab(26.32% 0.079 -0.0096)
OKLCHoklch(26.32% 0.08 353.1)
XYZxyz(2.6828, 1.6141, 2.1773)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401028 #104028
analogous
#401040 #401028 #401010
triadic
#401028 #284010 #102840
tetradic
#401028 #404010 #104028 #101040
square
#401028 #404010 #104028 #101040
split-complementary
#401028 #104010 #104040
monochromatic
#18060F #18060F #401028 #711C47 #A22865

Accessibility & contrast

On white

15.88
#401028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#401028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401028
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401028#FFFFFF#000000##FFFFFF
##4010281.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D29
Deuteranopia (green-blind)
#252527
Tritanopia (blue-blind)
#450D1A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401028;
/* rgb */ color: rgb(64, 16, 40);
/* oklch */ color: oklch(26.3% 0.080 353.1);
Tailwind
colors: {
  custom: {
    50: '#775261',
    500: '#401028',
    950: '#000000',
  },
}
SCSS
$custom: #401028;
$custom-light: #775261;
$custom-dark: #000000;
JSON
{
  "hex": "#401028",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 330,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26318,
    "c": 0.07958,
    "h": 353.1
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#401028
secondary
#327A56
accent
#E39445
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #401028

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

Preview Lab → · Contrast checker → · Palette generator →

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