#401134#401134

#401134 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.0% C 0.086 H 339.3°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#401134
RGBrgb(64, 17, 52)
HSLhsl(315, 58%, 16%)
HSVhsv(315, 73%, 25%)
CMYKcmyk(0%, 73.4%, 18.8%, 74.9%)
CIE-LABlab(14.05, 27.32, -11.34)
CIE-LCHlch(14.05, 29.58, 337.45°)
OKLaboklab(27.04% 0.0809 -0.0306)
OKLCHoklch(27.04% 0.087 339.3)
XYZxyz(2.9347, 1.7391, 3.4293)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401134 #11401D
analogous
#341140 #401134 #40111C
triadic
#401134 #344011 #113440
tetradic
#401134 #403411 #11401D #111C40
square
#401134 #403411 #11401D #111C40
split-complementary
#401134 #1C4011 #114034
monochromatic
#180614 #180614 #401134 #701E5B #A12B83

Accessibility & contrast

On white

15.58
#401134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401134
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401134#FFFFFF#000000##FFFFFF
##4011341.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131F35
Deuteranopia (green-blind)
#222633
Tritanopia (blue-blind)
#441220
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401134;
/* rgb */ color: rgb(64, 17, 52);
/* oklch */ color: oklch(27.0% 0.086 339.3);
Tailwind
colors: {
  custom: {
    50: '#77536b',
    500: '#401134',
    950: '#000000',
  },
}
SCSS
$custom: #401134;
$custom-light: #77536b;
$custom-dark: #000000;
JSON
{
  "hex": "#401134",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 52
  },
  "hsl": {
    "h": 315.319,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27043,
    "c": 0.0865,
    "h": 339.3
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#401134
secondary
#337945
accent
#E16E47
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #401134

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

Preview Lab → · Contrast checker → · Palette generator →

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