#401127#401127

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

Color values

HEX#401127
RGBrgb(64, 17, 39)
HSLhsl(332, 58%, 16%)
HSVhsv(332, 73%, 25%)
CMYKcmyk(0%, 73.4%, 39.1%, 74.9%)
CIE-LABlab(13.46, 25.23, -2.79)
CIE-LCHlch(13.46, 25.39, 353.68°)
OKLaboklab(26.41% 0.0771 -0.007)
OKLCHoklch(26.41% 0.077 354.8)
XYZxyz(2.6812, 1.6377, 2.0940)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401127 #11402A
analogous
#40113E #401127 #401211
triadic
#401127 #274011 #112740
tetradic
#401127 #3E4011 #11402A #121140
square
#401127 #3E4011 #11402A #121140
split-complementary
#401127 #114012 #113E40
monochromatic
#18060F #18060F #401127 #701E44 #A12B62

Accessibility & contrast

On white

15.82
#401127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401127
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401127#FFFFFF#000000##FFFFFF
##4011271.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191D28
Deuteranopia (green-blind)
#262626
Tritanopia (blue-blind)
#450D1A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401127;
/* rgb */ color: rgb(64, 17, 39);
/* oklch */ color: oklch(26.4% 0.077 354.8);
Tailwind
colors: {
  custom: {
    50: '#775261',
    500: '#401127',
    950: '#000000',
  },
}
SCSS
$custom: #401127;
$custom-light: #775261;
$custom-dark: #000000;
JSON
{
  "hex": "#401127",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 331.915,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2641,
    "c": 0.07738,
    "h": 354.8
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#401127
secondary
#337959
accent
#E19947
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #401127

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

Preview Lab → · Contrast checker → · Palette generator →

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