#401137#401137

#401137 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.2% C 0.089 H 336.2°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#401137
RGBrgb(64, 17, 55)
HSLhsl(311, 58%, 16%)
HSVhsv(311, 73%, 25%)
CMYKcmyk(0%, 73.4%, 14.1%, 74.9%)
CIE-LABlab(14.21, 27.86, -13.25)
CIE-LCHlch(14.21, 30.85, 334.57°)
OKLaboklab(27.21% 0.0815 -0.036)
OKLCHoklch(27.21% 0.089 336.2)
XYZxyz(3.0044, 1.7670, 3.7965)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401137 #11401A
analogous
#311140 #401137 #40111F
triadic
#401137 #374011 #113740
tetradic
#401137 #403111 #11401A #111F40
square
#401137 #403111 #11401A #111F40
split-complementary
#401137 #1F4011 #114031
monochromatic
#180615 #180615 #401137 #701E61 #A12B8A

Accessibility & contrast

On white

15.52
#401137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401137
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401137#FFFFFF#000000##FFFFFF
##4011371.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F38
Deuteranopia (green-blind)
#212736
Tritanopia (blue-blind)
#441422
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401137;
/* rgb */ color: rgb(64, 17, 55);
/* oklch */ color: oklch(27.2% 0.089 336.2);
Tailwind
colors: {
  custom: {
    50: '#77536e',
    500: '#401137',
    950: '#000000',
  },
}
SCSS
$custom: #401137;
$custom-light: #77536e;
$custom-dark: #000000;
JSON
{
  "hex": "#401137",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 311.489,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27212,
    "c": 0.08909,
    "h": 336.2
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#401137
secondary
#337941
accent
#E16447
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401137

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

Preview Lab → · Contrast checker → · Palette generator →

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