#5E1044#5E1044

#5E1044 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.123 H 345.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5E1044
RGBrgb(94, 16, 68)
HSLhsl(320, 71%, 22%)
HSVhsv(320, 83%, 37%)
CMYKcmyk(0%, 83%, 27.7%, 63.1%)
CIE-LABlab(20.71, 39.14, -11.84)
CIE-LCHlch(20.71, 40.89, 343.17°)
OKLaboklab(33.27% 0.1187 -0.0315)
OKLCHoklch(33.27% 0.123 345.1)
XYZxyz(5.8450, 3.1683, 5.7714)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1044 #105E2A
analogous
#51105E #5E1044 #5E101D
triadic
#5E1044 #445E10 #10445E
tetradic
#5E1044 #5E5110 #105E2A #101D5E
square
#5E1044 #5E5110 #105E2A #101D5E
split-complementary
#5E1044 #1D5E10 #105E51
monochromatic
#1A0413 #2A071E #5E1044 #92196A #C72290

Accessibility & contrast

On white

12.86
#5E1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1044
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1044#FFFFFF#000000##FFFFFF
##5E10441.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2945
Deuteranopia (green-blind)
#323742
Tritanopia (blue-blind)
#650E28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1044;
/* rgb */ color: rgb(94, 16, 68);
/* oklch */ color: oklch(33.3% 0.123 345.1);
Tailwind
colors: {
  custom: {
    50: '#8f5878',
    500: '#5e1044',
    950: '#000000',
  },
}
SCSS
$custom: #5e1044;
$custom-light: #8f5878;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1044",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 320,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33274,
    "c": 0.12284,
    "h": 345.1
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#5E1044
secondary
#339754
accent
#EE763A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1044

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

Preview Lab → · Contrast checker → · Palette generator →

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