#401121#401121

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

Color values

HEX#401121
RGBrgb(64, 17, 33)
HSLhsl(340, 58%, 16%)
HSVhsv(340, 73%, 25%)
CMYKcmyk(0%, 73.4%, 48.4%, 74.9%)
CIE-LABlab(13.24, 24.43, 1.31)
CIE-LCHlch(13.24, 24.47, 3.06°)
OKLaboklab(26.17% 0.0746 0.0037)
OKLCHoklch(26.17% 0.075 2.8)
XYZxyz(2.5895, 1.6010, 1.6112)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401121 #114030
analogous
#401138 #401121 #401811
triadic
#401121 #214011 #112140
tetradic
#401121 #384011 #114030 #181140
square
#401121 #384011 #114030 #181140
split-complementary
#401121 #114018 #113840
monochromatic
#18060C #18060C #401121 #701E3A #A12B53

Accessibility & contrast

On white

15.91
#401121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401121
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401121#FFFFFF#000000##FFFFFF
##4011211.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1C21
Deuteranopia (green-blind)
#272520
Tritanopia (blue-blind)
#460B17
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401121;
/* rgb */ color: rgb(64, 17, 33);
/* oklch */ color: oklch(26.2% 0.075 2.8);
Tailwind
colors: {
  custom: {
    50: '#78525c',
    500: '#401121',
    950: '#000000',
  },
}
SCSS
$custom: #401121;
$custom-light: #78525c;
$custom-dark: #000000;
JSON
{
  "hex": "#401121",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 339.574,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26173,
    "c": 0.07473,
    "h": 2.8
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#401121
secondary
#337962
accent
#E1AD47
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401121

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

Preview Lab → · Contrast checker → · Palette generator →

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