#5E1041#5E1041

#5E1041 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.121 H 347.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#5E1041
RGBrgb(94, 16, 65)
HSLhsl(322, 71%, 22%)
HSVhsv(322, 83%, 37%)
CMYKcmyk(0%, 83%, 30.9%, 63.1%)
CIE-LABlab(20.57, 38.73, -9.98)
CIE-LCHlch(20.57, 40.00, 345.54°)
OKLaboklab(33.13% 0.1181 -0.0263)
OKLCHoklch(33.13% 0.121 347.4)
XYZxyz(5.7558, 3.1326, 5.3015)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1041 #105E2D
analogous
#54105E #5E1041 #5E101A
triadic
#5E1041 #415E10 #10415E
tetradic
#5E1041 #5E5410 #105E2D #101A5E
square
#5E1041 #5E5410 #105E2D #101A5E
split-complementary
#5E1041 #1A5E10 #105E54
monochromatic
#1A0412 #2A071D #5E1041 #921965 #C72289

Accessibility & contrast

On white

12.91
#5E1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1041
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1041#FFFFFF#000000##FFFFFF
##5E10411.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2942
Deuteranopia (green-blind)
#33363F
Tritanopia (blue-blind)
#650D27
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1041;
/* rgb */ color: rgb(94, 16, 65);
/* oklch */ color: oklch(33.1% 0.121 347.4);
Tailwind
colors: {
  custom: {
    50: '#8f5875',
    500: '#5e1041',
    950: '#000000',
  },
}
SCSS
$custom: #5e1041;
$custom-light: #8f5875;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1041",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 322.308,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33128,
    "c": 0.12096,
    "h": 347.4
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#5E1041
secondary
#339758
accent
#EE7D3A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1041

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

Preview Lab → · Contrast checker → · Palette generator →

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