#5E104A#5E104A

#5E104A is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.6% C 0.127 H 340.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5E104A
RGBrgb(94, 16, 74)
HSLhsl(315, 71%, 22%)
HSVhsv(315, 83%, 37%)
CMYKcmyk(0%, 83%, 21.3%, 63.1%)
CIE-LABlab(21.00, 40.02, -15.50)
CIE-LCHlch(21.00, 42.91, 338.83°)
OKLaboklab(33.58% 0.1198 -0.0418)
OKLCHoklch(33.58% 0.127 340.8)
XYZxyz(6.0376, 3.2453, 6.7857)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E104A #105E24
analogous
#4B105E #5E104A #5E1023
triadic
#5E104A #4A5E10 #104A5E
tetradic
#5E104A #5E4B10 #105E24 #10235E
square
#5E104A #5E4B10 #105E24 #10235E
split-complementary
#5E104A #235E10 #105E4B
monochromatic
#1A0415 #2A0721 #5E104A #921973 #C7229C

Accessibility & contrast

On white

12.73
#5E104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E104A
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E104A#FFFFFF#000000##FFFFFF
##5E104A1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4C
Deuteranopia (green-blind)
#303748
Tritanopia (blue-blind)
#64122C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e104a;
/* rgb */ color: rgb(94, 16, 74);
/* oklch */ color: oklch(33.6% 0.127 340.8);
Tailwind
colors: {
  custom: {
    50: '#8f587c',
    500: '#5e104a',
    950: '#000000',
  },
}
SCSS
$custom: #5e104a;
$custom-light: #8f587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e104a",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 315.385,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.12691,
    "h": 340.8
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#5E104A
secondary
#33974D
accent
#EE683A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E104A

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

Preview Lab → · Contrast checker → · Palette generator →

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