#5E1047#5E1047

#5E1047 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.125 H 342.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5E1047
RGBrgb(94, 16, 71)
HSLhsl(318, 71%, 22%)
HSVhsv(318, 83%, 37%)
CMYKcmyk(0%, 83%, 24.5%, 63.1%)
CIE-LABlab(20.85, 39.57, -13.68)
CIE-LCHlch(20.85, 41.87, 340.93°)
OKLaboklab(33.43% 0.1193 -0.0367)
OKLCHoklch(33.43% 0.125 342.9)
XYZxyz(5.9389, 3.2058, 6.2660)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1047 #105E27
analogous
#4E105E #5E1047 #5E1020
triadic
#5E1047 #475E10 #10475E
tetradic
#5E1047 #5E4E10 #105E27 #10205E
square
#5E1047 #5E4E10 #105E27 #10205E
split-complementary
#5E1047 #205E10 #105E4E
monochromatic
#1A0414 #2A071F #5E1047 #92196F #C72296

Accessibility & contrast

On white

12.80
#5E1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1047
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1047#FFFFFF#000000##FFFFFF
##5E10471.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A48
Deuteranopia (green-blind)
#313745
Tritanopia (blue-blind)
#65102A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1047;
/* rgb */ color: rgb(94, 16, 71);
/* oklch */ color: oklch(33.4% 0.125 342.9);
Tailwind
colors: {
  custom: {
    50: '#8f587a',
    500: '#5e1047',
    950: '#000000',
  },
}
SCSS
$custom: #5e1047;
$custom-light: #8f587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1047",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 317.692,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33426,
    "c": 0.12484,
    "h": 342.9
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#5E1047
secondary
#339750
accent
#EE6F3A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1047

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

Preview Lab → · Contrast checker → · Palette generator →

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