#5E1046#5E1046

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

Color values

HEX#5E1046
RGBrgb(94, 16, 70)
HSLhsl(318, 71%, 22%)
HSVhsv(318, 83%, 37%)
CMYKcmyk(0%, 83%, 25.5%, 63.1%)
CIE-LABlab(20.80, 39.43, -13.07)
CIE-LCHlch(20.80, 41.54, 341.66°)
OKLaboklab(33.37% 0.1191 -0.0349)
OKLCHoklch(33.37% 0.124 343.7)
XYZxyz(5.9071, 3.1931, 6.0984)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1046 #105E28
analogous
#4F105E #5E1046 #5E101F
triadic
#5E1046 #465E10 #10465E
tetradic
#5E1046 #5E4F10 #105E28 #101F5E
square
#5E1046 #5E4F10 #105E28 #101F5E
split-complementary
#5E1046 #1F5E10 #105E4F
monochromatic
#1A0413 #2A071F #5E1046 #92196D #C72294

Accessibility & contrast

On white

12.82
#5E1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1046
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1046#FFFFFF#000000##FFFFFF
##5E10461.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1046;
/* rgb */ color: rgb(94, 16, 70);
/* oklch */ color: oklch(33.4% 0.124 343.7);
Tailwind
colors: {
  custom: {
    50: '#8f5879',
    500: '#5e1046',
    950: '#000000',
  },
}
SCSS
$custom: #5e1046;
$custom-light: #8f5879;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1046",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 318.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33374,
    "c": 0.12416,
    "h": 343.7
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#5E1046
secondary
#339752
accent
#EE713A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1046

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

Preview Lab → · Contrast checker → · Palette generator →

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