#401126#401126

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

Color values

HEX#401126
RGBrgb(64, 17, 38)
HSLhsl(333, 58%, 16%)
HSVhsv(333, 73%, 25%)
CMYKcmyk(0%, 73.4%, 40.6%, 74.9%)
CIE-LABlab(13.42, 25.09, -2.12)
CIE-LCHlch(13.42, 25.18, 355.18°)
OKLaboklab(26.37% 0.0767 -0.0052)
OKLCHoklch(26.37% 0.077 356.1)
XYZxyz(2.6648, 1.6311, 2.0078)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401126 #11402B
analogous
#40113D #401126 #401311
triadic
#401126 #264011 #112640
tetradic
#401126 #3D4011 #11402B #131140
square
#401126 #3D4011 #11402B #131140
split-complementary
#401126 #114013 #113D40
monochromatic
#18060E #18060E #401126 #701E43 #A12B5F

Accessibility & contrast

On white

15.83
#401126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#401126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401126
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401126#FFFFFF#000000##FFFFFF
##4011261.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191D27
Deuteranopia (green-blind)
#262625
Tritanopia (blue-blind)
#460D19
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401126;
/* rgb */ color: rgb(64, 17, 38);
/* oklch */ color: oklch(26.4% 0.077 356.1);
Tailwind
colors: {
  custom: {
    50: '#775260',
    500: '#401126',
    950: '#000000',
  },
}
SCSS
$custom: #401126;
$custom-light: #775260;
$custom-dark: #000000;
JSON
{
  "hex": "#401126",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 333.191,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26368,
    "c": 0.07687,
    "h": 356.1
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#401126
secondary
#33795A
accent
#E19C47
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401126

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

Preview Lab → · Contrast checker → · Palette generator →

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