#401135#401135

#401135 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.1% C 0.087 H 338.2°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#401135
RGBrgb(64, 17, 53)
HSLhsl(314, 58%, 16%)
HSVhsv(314, 73%, 25%)
CMYKcmyk(0%, 73.4%, 17.2%, 74.9%)
CIE-LABlab(14.11, 27.50, -11.98)
CIE-LCHlch(14.11, 29.99, 336.46°)
OKLaboklab(27.1% 0.0811 -0.0324)
OKLCHoklch(27.1% 0.087 338.2)
XYZxyz(2.9575, 1.7482, 3.5491)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401135 #11401C
analogous
#331140 #401135 #40111D
triadic
#401135 #354011 #113540
tetradic
#401135 #403311 #11401C #111D40
square
#401135 #403311 #11401C #111D40
split-complementary
#401135 #1D4011 #114033
monochromatic
#180614 #180614 #401135 #701E5D #A12B85

Accessibility & contrast

On white

15.56
#401135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401135
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401135#FFFFFF#000000##FFFFFF
##4011351.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131F36
Deuteranopia (green-blind)
#212634
Tritanopia (blue-blind)
#441321
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401135;
/* rgb */ color: rgb(64, 17, 53);
/* oklch */ color: oklch(27.1% 0.087 338.2);
Tailwind
colors: {
  custom: {
    50: '#77536c',
    500: '#401135',
    950: '#000000',
  },
}
SCSS
$custom: #401135;
$custom-light: #77536c;
$custom-dark: #000000;
JSON
{
  "hex": "#401135",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 314.043,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27099,
    "c": 0.08735,
    "h": 338.2
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#401135
secondary
#337944
accent
#E16B47
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #401135

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

Preview Lab → · Contrast checker → · Palette generator →

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