#401022#401022

#401022 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.077 H 0.9°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#401022
RGBrgb(64, 16, 34)
HSLhsl(338, 60%, 16%)
HSVhsv(338, 75%, 25%)
CMYKcmyk(0%, 75%, 46.9%, 74.9%)
CIE-LABlab(13.09, 25.06, 0.35)
CIE-LCHlch(13.09, 25.07, 0.79°)
OKLaboklab(26.07% 0.0767 0.0012)
OKLCHoklch(26.07% 0.077 0.9)
XYZxyz(2.5886, 1.5764, 1.6810)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401022 #10402E
analogous
#40103A #401022 #401610
triadic
#401022 #224010 #102240
tetradic
#401022 #3A4010 #10402E #161040
square
#401022 #3A4010 #10402E #161040
split-complementary
#401022 #104016 #103A40
monochromatic
#18060D #18060D #401022 #711C3C #A22856

Accessibility & contrast

On white

15.97
#401022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401022
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401022#FFFFFF#000000##FFFFFF
##4010221.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191C22
Deuteranopia (green-blind)
#262521
Tritanopia (blue-blind)
#460A17
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401022;
/* rgb */ color: rgb(64, 16, 34);
/* oklch */ color: oklch(26.1% 0.077 0.9);
Tailwind
colors: {
  custom: {
    50: '#78525c',
    500: '#401022',
    950: '#000000',
  },
}
SCSS
$custom: #401022;
$custom-light: #78525c;
$custom-dark: #000000;
JSON
{
  "hex": "#401022",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 34
  },
  "hsl": {
    "h": 337.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26073,
    "c": 0.07668,
    "h": 0.9
  },
  "luminance": 0.01576
}

Semantic roles & 50–950 ramp

primary
#401022
secondary
#327A5F
accent
#E3A845
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401022

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

Preview Lab → · Contrast checker → · Palette generator →

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