#401136#401136

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

Color values

HEX#401136
RGBrgb(64, 17, 54)
HSLhsl(313, 58%, 16%)
HSVhsv(313, 73%, 25%)
CMYKcmyk(0%, 73.4%, 15.6%, 74.9%)
CIE-LABlab(14.16, 27.68, -12.62)
CIE-LCHlch(14.16, 30.42, 335.50°)
OKLaboklab(27.16% 0.0813 -0.0342)
OKLCHoklch(27.16% 0.088 337.2)
XYZxyz(2.9807, 1.7575, 3.6716)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401136 #11401B
analogous
#321140 #401136 #40111E
triadic
#401136 #364011 #113640
tetradic
#401136 #403211 #11401B #111E40
square
#401136 #403211 #11401B #111E40
split-complementary
#401136 #1E4011 #114032
monochromatic
#180614 #180614 #401136 #701E5F #A12B88

Accessibility & contrast

On white

15.54
#401136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401136
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401136#FFFFFF#000000##FFFFFF
##4011361.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F37
Deuteranopia (green-blind)
#212735
Tritanopia (blue-blind)
#441321
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401136;
/* rgb */ color: rgb(64, 17, 54);
/* oklch */ color: oklch(27.2% 0.088 337.2);
Tailwind
colors: {
  custom: {
    50: '#77536d',
    500: '#401136',
    950: '#000000',
  },
}
SCSS
$custom: #401136;
$custom-light: #77536d;
$custom-dark: #000000;
JSON
{
  "hex": "#401136",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 312.766,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27155,
    "c": 0.08821,
    "h": 337.2
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#401136
secondary
#337942
accent
#E16747
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401136

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

Preview Lab → · Contrast checker → · Palette generator →

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