#5E104E#5E104E

#5E104E is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.130 H 338.0°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5E104E
RGBrgb(94, 16, 78)
HSLhsl(312, 71%, 22%)
HSVhsv(312, 83%, 37%)
CMYKcmyk(0%, 83%, 17%, 63.1%)
CIE-LABlab(21.21, 40.63, -17.89)
CIE-LCHlch(21.21, 44.40, 336.23°)
OKLaboklab(33.8% 0.1204 -0.0486)
OKLCHoklch(33.8% 0.13 338)
XYZxyz(6.1767, 3.3009, 7.5181)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E104E #105E20
analogous
#47105E #5E104E #5E1027
triadic
#5E104E #4E5E10 #104E5E
tetradic
#5E104E #5E4710 #105E20 #10275E
square
#5E104E #5E4710 #105E20 #10275E
split-complementary
#5E104E #275E10 #105E47
monochromatic
#1A0416 #2A0723 #5E104E #921979 #C722A5

Accessibility & contrast

On white

12.65
#5E104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E104E
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E104E#FFFFFF#000000##FFFFFF
##5E104E1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#2F374C
Tritanopia (blue-blind)
#64152E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e104e;
/* rgb */ color: rgb(94, 16, 78);
/* oklch */ color: oklch(33.8% 0.130 338.0);
Tailwind
colors: {
  custom: {
    50: '#8f597f',
    500: '#5e104e',
    950: '#000000',
  },
}
SCSS
$custom: #5e104e;
$custom-light: #8f597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e104e",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 312.308,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33804,
    "c": 0.12981,
    "h": 338
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#5E104E
secondary
#339747
accent
#EE5F3A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E104E

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

Preview Lab → · Contrast checker → · Palette generator →

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