#401131#401131

#401131 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.084 H 342.6°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#401131
RGBrgb(64, 17, 49)
HSLhsl(319, 58%, 16%)
HSVhsv(319, 73%, 25%)
CMYKcmyk(0%, 73.4%, 23.4%, 74.9%)
CIE-LABlab(13.90, 26.80, -9.41)
CIE-LCHlch(13.90, 28.40, 340.64°)
OKLaboklab(26.88% 0.0802 -0.0252)
OKLCHoklch(26.88% 0.084 342.6)
XYZxyz(2.8693, 1.7129, 3.0846)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401131 #114020
analogous
#371140 #401131 #401119
triadic
#401131 #314011 #113140
tetradic
#401131 #403711 #114020 #111940
square
#401131 #403711 #114020 #111940
split-complementary
#401131 #194011 #114037
monochromatic
#180613 #180613 #401131 #701E56 #A12B7B

Accessibility & contrast

On white

15.64
#401131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401131
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401131#FFFFFF#000000##FFFFFF
##4011311.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151E32
Deuteranopia (green-blind)
#232630
Tritanopia (blue-blind)
#44111F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401131;
/* rgb */ color: rgb(64, 17, 49);
/* oklch */ color: oklch(26.9% 0.084 342.6);
Tailwind
colors: {
  custom: {
    50: '#775369',
    500: '#401131',
    950: '#000000',
  },
}
SCSS
$custom: #401131;
$custom-light: #775369;
$custom-dark: #000000;
JSON
{
  "hex": "#401131",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 319.149,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26883,
    "c": 0.08407,
    "h": 342.6
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#401131
secondary
#33794A
accent
#E17847
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #401131

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

Preview Lab → · Contrast checker → · Palette generator →

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