#401120#401120

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

Color values

HEX#401120
RGBrgb(64, 17, 32)
HSLhsl(341, 58%, 16%)
HSVhsv(341, 73%, 25%)
CMYKcmyk(0%, 73.4%, 50%, 74.9%)
CIE-LABlab(13.20, 24.31, 2.00)
CIE-LCHlch(13.20, 24.39, 4.70°)
OKLaboklab(26.14% 0.0742 0.0054)
OKLCHoklch(26.14% 0.074 4.2)
XYZxyz(2.5757, 1.5955, 1.5385)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401120 #114031
analogous
#401137 #401120 #401911
triadic
#401120 #204011 #112040
tetradic
#401120 #374011 #114031 #191140
square
#401120 #374011 #114031 #191140
split-complementary
#401120 #114019 #113740
monochromatic
#18060C #18060C #401120 #701E38 #A12B50

Accessibility & contrast

On white

15.92
#401120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401120
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401120#FFFFFF#000000##FFFFFF
##4011201.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C20
Deuteranopia (green-blind)
#27251F
Tritanopia (blue-blind)
#460B17
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401120;
/* rgb */ color: rgb(64, 17, 32);
/* oklch */ color: oklch(26.1% 0.074 4.2);
Tailwind
colors: {
  custom: {
    50: '#78525b',
    500: '#401120',
    950: '#000000',
  },
}
SCSS
$custom: #401120;
$custom-light: #78525b;
$custom-dark: #000000;
JSON
{
  "hex": "#401120",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 32
  },
  "hsl": {
    "h": 340.851,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26137,
    "c": 0.07441,
    "h": 4.2
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#401120
secondary
#337963
accent
#E1B047
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401120

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

Preview Lab → · Contrast checker → · Palette generator →

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