#5E1140#5E1140

#5E1140 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.119 H 348.3°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5E1140
RGBrgb(94, 17, 64)
HSLhsl(323, 69%, 22%)
HSVhsv(323, 82%, 37%)
CMYKcmyk(0%, 81.9%, 31.9%, 63.1%)
CIE-LABlab(20.64, 38.26, -9.18)
CIE-LCHlch(20.64, 39.35, 346.51°)
OKLaboklab(33.17% 0.1168 -0.0241)
OKLCHoklch(33.17% 0.119 348.3)
XYZxyz(5.7423, 3.1514, 5.1554)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1140 #115E2F
analogous
#56115E #5E1140 #5E111A
triadic
#5E1140 #405E11 #11405E
tetradic
#5E1140 #5E5611 #115E2F #111A5E
square
#5E1140 #5E5611 #115E2F #111A5E
split-complementary
#5E1140 #1A5E11 #115E56
monochromatic
#1A0512 #2A081D #5E1140 #921A63 #C62487

Accessibility & contrast

On white

12.88
#5E1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1140
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1140#FFFFFF#000000##FFFFFF
##5E11401.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#34373E
Tritanopia (blue-blind)
#650D27
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1140;
/* rgb */ color: rgb(94, 17, 64);
/* oklch */ color: oklch(33.2% 0.119 348.3);
Tailwind
colors: {
  custom: {
    50: '#8f5874',
    500: '#5e1140',
    950: '#000000',
  },
}
SCSS
$custom: #5e1140;
$custom-light: #8f5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1140",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 323.377,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33167,
    "c": 0.11923,
    "h": 348.3
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#5E1140
secondary
#34975B
accent
#EC803C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1140

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

Preview Lab → · Contrast checker → · Palette generator →

#5E1140 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva