#5E104D#5E104D

#5E104D is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.129 H 338.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5E104D
RGBrgb(94, 16, 77)
HSLhsl(313, 71%, 22%)
HSVhsv(313, 83%, 37%)
CMYKcmyk(0%, 83%, 18.1%, 63.1%)
CIE-LABlab(21.16, 40.47, -17.30)
CIE-LCHlch(21.16, 44.02, 336.86°)
OKLaboklab(33.75% 0.1202 -0.0469)
OKLCHoklch(33.75% 0.129 338.7)
XYZxyz(6.1411, 3.2867, 7.3307)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E104D #105E21
analogous
#48105E #5E104D #5E1026
triadic
#5E104D #4D5E10 #104D5E
tetradic
#5E104D #5E4810 #105E21 #10265E
square
#5E104D #5E4810 #105E21 #10265E
split-complementary
#5E104D #265E10 #105E48
monochromatic
#1A0415 #2A0722 #5E104D #921978 #C722A3

Accessibility & contrast

On white

12.67
#5E104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E104D
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E104D#FFFFFF#000000##FFFFFF
##5E104D1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4F
Deuteranopia (green-blind)
#2F374B
Tritanopia (blue-blind)
#64142D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e104d;
/* rgb */ color: rgb(94, 16, 77);
/* oklch */ color: oklch(33.7% 0.129 338.7);
Tailwind
colors: {
  custom: {
    50: '#8f587f',
    500: '#5e104d',
    950: '#000000',
  },
}
SCSS
$custom: #5e104d;
$custom-light: #8f587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e104d",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 313.077,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33748,
    "c": 0.12907,
    "h": 338.7
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#5E104D
secondary
#339749
accent
#EE613A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E104D

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

Preview Lab → · Contrast checker → · Palette generator →

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