#401133#401133

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

Color values

HEX#401133
RGBrgb(64, 17, 51)
HSLhsl(317, 58%, 16%)
HSVhsv(317, 73%, 25%)
CMYKcmyk(0%, 73.4%, 20.3%, 74.9%)
CIE-LABlab(14.00, 27.14, -10.70)
CIE-LCHlch(14.00, 29.17, 338.48°)
OKLaboklab(26.99% 0.0807 -0.0288)
OKLCHoklch(26.99% 0.086 340.4)
XYZxyz(2.9124, 1.7302, 3.3119)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401133 #11401E
analogous
#351140 #401133 #40111B
triadic
#401133 #334011 #113340
tetradic
#401133 #403511 #11401E #111B40
square
#401133 #403511 #11401E #111B40
split-complementary
#401133 #1B4011 #114035
monochromatic
#180613 #180613 #401133 #701E5A #A12B80

Accessibility & contrast

On white

15.60
#401133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401133
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401133#FFFFFF#000000##FFFFFF
##4011331.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141F34
Deuteranopia (green-blind)
#222632
Tritanopia (blue-blind)
#441220
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401133;
/* rgb */ color: rgb(64, 17, 51);
/* oklch */ color: oklch(27.0% 0.086 340.4);
Tailwind
colors: {
  custom: {
    50: '#77536a',
    500: '#401133',
    950: '#000000',
  },
}
SCSS
$custom: #401133;
$custom-light: #77536a;
$custom-dark: #000000;
JSON
{
  "hex": "#401133",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 316.596,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26989,
    "c": 0.08568,
    "h": 340.4
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#401133
secondary
#337947
accent
#E17147
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #401133

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

Preview Lab → · Contrast checker → · Palette generator →

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