#401122#401122

#401122 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.075 H 1.4°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#401122
RGBrgb(64, 17, 34)
HSLhsl(338, 58%, 16%)
HSVhsv(338, 73%, 25%)
CMYKcmyk(0%, 73.4%, 46.9%, 74.9%)
CIE-LABlab(13.27, 24.56, 0.62)
CIE-LCHlch(13.27, 24.57, 1.44°)
OKLaboklab(26.21% 0.0751 0.0019)
OKLCHoklch(26.21% 0.075 1.4)
XYZxyz(2.6037, 1.6067, 1.6861)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401122 #11402F
analogous
#401139 #401122 #401711
triadic
#401122 #224011 #112240
tetradic
#401122 #394011 #11402F #171140
square
#401122 #394011 #11402F #171140
split-complementary
#401122 #114017 #113940
monochromatic
#18060D #18060D #401122 #701E3C #A12B55

Accessibility & contrast

On white

15.89
#401122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401122
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401122#FFFFFF#000000##FFFFFF
##4011221.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1C22
Deuteranopia (green-blind)
#272521
Tritanopia (blue-blind)
#460C18
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401122;
/* rgb */ color: rgb(64, 17, 34);
/* oklch */ color: oklch(26.2% 0.075 1.4);
Tailwind
colors: {
  custom: {
    50: '#78525c',
    500: '#401122',
    950: '#000000',
  },
}
SCSS
$custom: #401122;
$custom-light: #78525c;
$custom-dark: #000000;
JSON
{
  "hex": "#401122",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 34
  },
  "hsl": {
    "h": 338.298,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2621,
    "c": 0.07509,
    "h": 1.4
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#401122
secondary
#337960
accent
#E1A947
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401122

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

Preview Lab → · Contrast checker → · Palette generator →

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